Wrap command line arguments in quotes

Closes #1639
Esse commit está contido em:
Kevin Sawicki
2014-03-11 13:35:19 -07:00
commit bd3dc453ef
+2 -2
Ver Arquivo
@@ -31,10 +31,10 @@ while getopts ":wtfvhs-:" opt; do
done
if [ $EXPECT_OUTPUT ]; then
$ATOM_BINARY --executed-from="$(pwd)" --pid=$$ $@
$ATOM_BINARY --executed-from="$(pwd)" --pid=$$ "$@"
exit $?
else
open -a $ATOM_PATH -n --args --executed-from="$(pwd)" --pid=$$ $@
open -a $ATOM_PATH -n --args --executed-from="$(pwd)" --pid=$$ "$@"
fi
# Used to exit process when atom is used as $EDITOR