mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
correctly preserve parameters
In case there are arguments containing spaces, there were splited. For example: $ xonsh -c 'echo 123' ['/home/rom1/python/xonsh/__main__.py', '-c', 'echo', '123'] $ With this patch: $ xonsh -c 'echo 123' ['/home/rom1/python/xonsh/__main__.py', '-c', 'echo 123'] 123 $
This commit is contained in:
parent
aadea0fae5
commit
df9ba1223d
1 changed files with 1 additions and 1 deletions
|
@ -7,4 +7,4 @@ if [ -z "${LC_ALL+x}" ] && [ -z "${LC_CTYPE+x}" ] && \
|
|||
fi
|
||||
|
||||
# run python
|
||||
exec /usr/bin/env PYTHONUNBUFFERED=1 python3 -u -m xonsh $@
|
||||
exec /usr/bin/env PYTHONUNBUFFERED=1 python3 -u -m xonsh "$@"
|
||||
|
|
Loading…
Add table
Reference in a new issue