From a57b8d138bc45b9898bbc7e43c1f6da6aabe339c Mon Sep 17 00:00:00 2001 From: sylvain tricot Date: Mon, 20 Sep 2021 11:17:26 +0200 Subject: [PATCH] Fix bug in "msspec -p" command. When using python options (like "-c" for example), all arguments from the command line were not passed to the launch_script function because of missing double quotes around the $@ array. --- src/msspec.sh.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msspec.sh.template b/src/msspec.sh.template index 22ef574..38cdfca 100644 --- a/src/msspec.sh.template +++ b/src/msspec.sh.template @@ -12,7 +12,7 @@ if ! [ -d "$VENV_PATH" ]; then fi launch_script() { - . "$VENV_PATH/bin/activate" && python $@ + . "$VENV_PATH/bin/activate" && python "$@" } show_help () {