diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-01-30 13:20:59 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-01-30 13:26:57 +0200 |
commit | 708b83a029b1c2ae91ad6426d45b6723893e1427 (patch) | |
tree | edf5bd6e1cccc01f57572620d96beeafbbe3a175 /docs/markdown/External-commands.md | |
parent | f0fbb31ccfa78ca1d7b7f9cedfbb090bf36d3e64 (diff) | |
download | meson-docrewrap.tar.gz |
Rewrap long text lines in docs. [skip ci]docrewrap
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 272182c23..be9d171b6 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 |