This commit is contained in:
2019-09-27 01:56:37 -07:00
parent 6339336048
commit f8f6c5cad5
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@@ -63,7 +63,7 @@ switch (@$argv[0]) {
addline("Launch without argv"); addline("Launch without argv");
die; die;
case "Preferences...": case "Preferences...":
exec(escapeshellarg($p['phpbin'])." ".__DIR__."/MinatPrefs.php"); exec(escapeshellarg($p['phpbin'])." ".escapeshellarg(__DIR__."/MinatPrefs.php"));
addline("Launch preferences"); addline("Launch preferences");
die; die;
case "Show Debug Console": case "Show Debug Console":
@@ -293,7 +293,7 @@ if ($p['ding']) {
$pass[] = 1; $pass[] = 1;
} }
$cmd = "open -n ".__DIR__."/Parallel.app --args ".implode(" ",$pass); $cmd = "open -n ".escapeshellarg(__DIR__."/Parallel.app")." --args ".implode(" ",$pass);
addline($cmd); addline($cmd);
exec($cmd); exec($cmd);