[Console] fix QuestionHelper::getHiddenResponse() not working with space in project directory name

This commit is contained in:
Yendric 2021-02-14 23:09:09 +01:00 committed by Robin Chalas
parent 08c789c97b
commit 0e421004eb

View File

@ -412,7 +412,7 @@ class QuestionHelper extends Helper
$exe = $tmpExe;
}
$sExec = shell_exec($exe);
$sExec = shell_exec('"'.$exe.'"');
$value = $trimmable ? rtrim($sExec) : $sExec;
$output->writeln('');