diff --git a/src/Executor.php b/src/Executor.php index 365238a..030b1e4 100644 --- a/src/Executor.php +++ b/src/Executor.php @@ -16,7 +16,7 @@ public function execute(Filename $commandFilename, $argLine) { $executable = sprintf( '%s %s', - escapeshellarg($commandFilename->asString()), + escapeshellcmd($commandFilename->asString()), $argLine ); exec($executable, $output, $rc);