Fixing read?
Dieser Commit ist enthalten in:
Ursprung
09fcf3deb7
Commit
1b6c61f394
@ -27,7 +27,7 @@ public class WebregisterCommand extends BasicCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ProcessBuilder pb = new ProcessBuilder("php", "/var/www/register.php", player.getName(), args[0]);
|
ProcessBuilder pb = new ProcessBuilder("php", "/var/www/register.php", player.getName(), args[0]);
|
||||||
pb = pb.redirectInput(ProcessBuilder.Redirect.INHERIT);
|
pb = pb.redirectInput(ProcessBuilder.Redirect.PIPE).redirectError(ProcessBuilder.Redirect.PIPE).redirectOutput(ProcessBuilder.Redirect.PIPE);
|
||||||
System.out.println(pb.command());
|
System.out.println(pb.command());
|
||||||
try {
|
try {
|
||||||
Process regProcess = pb.start();
|
Process regProcess = pb.start();
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren