Improve shell-script arguments

This commit is contained in:
Kenneth Skovhede
2025-02-12 09:23:07 +01:00
parent 7e1182ec8a
commit 439d10b53d
2 changed files with 11 additions and 2 deletions
@@ -50,7 +50,12 @@ REM --run-script-with-arguments = <boolean>
REM If set to true, the script path will be parsed as a command line, and the
REM arguments will be passed to the script. If set to false (default),
REM the script path will used as a single path.
REM Use double- or single-quotes to pass arguments with spaces.
REM If you do not have spaces in your script path or arguments, simply enter
REM it as a string:
REM Example: --run-script-before="C:\path\to\script.bat arg1 arg2 --option1=a"
REM If you have spaces in the path or arguements, use double- or single-quotes
REM around the elements that have spaces, similar to how you would do
REM on the command line:
REM Example: --run-script-before="\"C:\path to\script.bat\" \"arg1 \" arg2"
@@ -50,7 +50,11 @@
# If set to true, the script path will be parsed as a command line, and the
# arguments will be passed to the script. If set to false (default),
# the script path will used as a single path.
# Use double- or single-quotes to pass arguments with spaces.
# If you do not have spaces in your script path or arguments, simply enter
# it as a string:
# Example: --run-script-before="/path/to/script.sh arg1 arg2 --option=a"
# If you have spaces in the path or arguements, use double- or single-quotes
# around the elements that have spaces, similar to how you would do in a shell:
# Example: --run-script-before="\"/path to/script.sh\" \"arg1 \" arg2"