8000 [Console] fix QuestionHelper::getHiddenResponse() not working with sp… · symfony/symfony@0e42100 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0e42100

Browse files
Yendricchalasr
authored andcommitted
[Console] fix QuestionHelper::getHiddenResponse() not working with space in project directory name
1 parent 08c789c commit 0e42100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Console/Helper/QuestionHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ private function getHiddenResponse(OutputInterface $output, $inputStream, bool $
412412
$exe = $tmpExe;
413413
}
414414

415-
$sExec = shell_exec($exe);
415+
$sExec = shell_exec('"'.$exe.'"');
416416
$value = $trimmable ? rtrim($sExec) : $sExec;
417417
$output->writeln('');
418418

0 commit comments

Comments
 (0)
0