Skip to content

Commit d42e37d

Browse files
authored
Merge pull request #3788 from obrie/fix/runcommand-eval-quotes
runcommand: Fix filenames with multiple consecutive spaces in them not loading
2 parents 8cd05f0 + c394289 commit d42e37d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scriptmodules/supplementary/runcommand/runcommand.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1312,11 +1312,11 @@ function launch_command() {
13121312
if [[ "$CONSOLE_OUT" -eq 1 ]]; then
13131313
# turn cursor on
13141314
tput cnorm
1315-
eval $COMMAND </dev/tty 2>>"$LOG"
1315+
eval "$COMMAND" </dev/tty 2>>"$LOG"
13161316
ret=$?
13171317
tput civis
13181318
else
1319-
eval $COMMAND </dev/tty &>>"$LOG"
1319+
eval "$COMMAND" </dev/tty &>>"$LOG"
13201320
ret=$?
13211321
fi
13221322
return $ret

0 commit comments

Comments
 (0)