SteamWar/BungeeCore
Archiviert
13
2
Dieser Commit ist enthalten in:
Lixfel 2020-02-26 19:26:10 +01:00
Ursprung 8875b17cbe
Commit b0971820ce

Datei anzeigen

@ -27,6 +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.redirectInput(ProcessBuilder.Redirect.INHERIT);
System.out.println(pb.command()); System.out.println(pb.command());
try { try {
Process regProcess = pb.start(); Process regProcess = pb.start();