mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-22 22:04:57 +00:00
Specify where bash is
This commit is contained in:
parent
c693373364
commit
6a06c7183e
1 changed files with 1 additions and 1 deletions
|
@ -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