SteamWar/BungeeCore
Archiviert
13
2
Dieser Commit ist enthalten in:
Lixfel 2020-02-26 19:28:22 +01:00
Ursprung 09fcf3deb7
Commit 1b6c61f394

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