diff options
Diffstat (limited to 'docs/markdown/External-commands.md')
-rw-r--r-- | docs/markdown/External-commands.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/markdown/External-commands.md b/docs/markdown/External-commands.md index 272182c..be9d171 100644 --- a/docs/markdown/External-commands.md +++ b/docs/markdown/External-commands.md @@ -33,14 +33,14 @@ run_command('command', 'arg1', 'arg2', env: env) The `run_command` function returns an object that can be queried for return value and text written to stdout and stderr. The `strip` method -call is used to strip trailing and leading whitespace from -strings. Usually output from command line programs ends in a newline, -which is unwanted in string variables. The first argument can be -either a string or an executable you have detected earlier with -`find_program`. +call is used to strip trailing and leading whitespace from strings. +Usually output from command line programs ends in a newline, which is +unwanted in string variables. The first argument can be either a +string or an executable you have detected earlier with `find_program`. Meson will autodetect scripts with a shebang line and run them with -the executable/interpreter specified in it both on Windows and on Unixes. +the executable/interpreter specified in it both on Windows and on +Unixes. Note that you can not pass your command line as a single string. That is, calling `run_command('do_something foo bar')` will not work. You |