geforkt von SteamWar/BungeeCore
Fixing read?
Dieser Commit ist enthalten in:
Ursprung
1b6c61f394
Commit
1a203c6fd7
@ -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.PIPE).redirectError(ProcessBuilder.Redirect.PIPE).redirectOutput(ProcessBuilder.Redirect.PIPE);
|
pb.redirectErrorStream(true);
|
||||||
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