SteamWar/BungeeCore
Archiviert
13
2
Dieser Commit ist enthalten in:
Lixfel 2020-02-26 19:31:59 +01:00
Ursprung 1b6c61f394
Commit 1a203c6fd7

Datei anzeigen

@ -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();