mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-10-31 22:49:21 +00:00
Specify where bash is
This commit is contained in:
parent
c693373364
commit
6a06c7183e
|
@ -21,7 +21,7 @@ public class Command_updatetfm extends FreedomCommand {
|
|||
String directory = new File(path).getParent();
|
||||
|
||||
try {
|
||||
String command = String.format("bash -c \"cd %s; %s\"", directory, path);
|
||||
String command = String.format("/bin/bash -c \"cd %s; %s\"", directory, path);
|
||||
System.out.println(command);
|
||||
ProcessBuilder proc = new ProcessBuilder(command);
|
||||
proc.redirectErrorStream(true);
|
||||
|
|
Loading…
Reference in a new issue