From fe87253a86eddc021b058bbca7cc13fe12a0e205 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 9 Jan 2023 01:22:11 -0500 Subject: [PATCH] Fixed argument passing to unix runtime. --- src/discord/handlers/DevRequestHandler.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/discord/handlers/DevRequestHandler.java b/src/discord/handlers/DevRequestHandler.java index 524f8ee0..9331375e 100644 --- a/src/discord/handlers/DevRequestHandler.java +++ b/src/discord/handlers/DevRequestHandler.java @@ -40,16 +40,16 @@ public class DevRequestHandler { switch (serverCommand) { case "build" : - execString = "/bin/sh -c ./mbdevbuild.sh"; + execString = "mbdevbuild.sh"; break; case "restart": - execString = "/bin/sh -c ./mbdevrestart.sh"; + execString = "mbdevrestart.sh"; break; case "debug": - execString = "/bin/sh -c ./mbdevdebug.sh"; + execString = "mbdevdebug.sh"; break; case "shutdown": - execString = "/bin/sh -c ./mbdevkill.sh"; + execString = "mbdevkill.sh"; break; default: break;