Remove quotes

This commit is contained in:
business-goose 2022-03-21 21:10:39 +00:00
parent 27033345ba
commit f8d8cbf362

View file

@ -22,7 +22,7 @@ public class Command_updatetfm extends FreedomCommand {
String directory = file.getParent();
try {
String command = String.format("\"cd %s && ./%s\"", directory, file.getName());
String command = String.format("cd %s && ./%s", directory, file.getName());
System.out.println(command);
ProcessBuilder proc = new ProcessBuilder("/bin/bash", "-c", command);
proc.redirectErrorStream(true);