Fixing read.
Dieser Commit ist enthalten in:
Ursprung
1a203c6fd7
Commit
e6ae4603de
@ -28,7 +28,6 @@ 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.redirectErrorStream(true);
|
pb.redirectErrorStream(true);
|
||||||
System.out.println(pb.command());
|
|
||||||
try {
|
try {
|
||||||
Process regProcess = pb.start();
|
Process regProcess = pb.start();
|
||||||
BufferedReader reader = new BufferedReader(new InputStreamReader(regProcess.getInputStream()));
|
BufferedReader reader = new BufferedReader(new InputStreamReader(regProcess.getInputStream()));
|
||||||
@ -52,8 +51,6 @@ public class WebregisterCommand extends BasicCommand {
|
|||||||
}
|
}
|
||||||
error = true;
|
error = true;
|
||||||
}
|
}
|
||||||
System.out.println(regProcess.exitValue());
|
|
||||||
System.out.println(regProcess.isAlive());
|
|
||||||
|
|
||||||
if(error)
|
if(error)
|
||||||
return;
|
return;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren