From b0971820ce6a2a3e7602e2624862e0f452976271 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Wed, 26 Feb 2020 19:26:10 +0100 Subject: [PATCH] Fixing read? --- src/de/steamwar/bungeecore/commands/WebregisterCommand.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/de/steamwar/bungeecore/commands/WebregisterCommand.java b/src/de/steamwar/bungeecore/commands/WebregisterCommand.java index 452804a..6b106d3 100644 --- a/src/de/steamwar/bungeecore/commands/WebregisterCommand.java +++ b/src/de/steamwar/bungeecore/commands/WebregisterCommand.java @@ -27,6 +27,7 @@ public class WebregisterCommand extends BasicCommand { } ProcessBuilder pb = new ProcessBuilder("php", "/var/www/register.php", player.getName(), args[0]); + pb.redirectInput(ProcessBuilder.Redirect.INHERIT); System.out.println(pb.command()); try { Process regProcess = pb.start();