aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/External-commands.md
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2021-01-30 13:20:59 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2021-01-30 16:19:59 +0000
commitf72ee8e742a171db74ed32b54b85953b8dfe1d77 (patch)
tree80e015f57b8bfc3c0a0fccb6b0d4ef4d602c0a0d /docs/markdown/External-commands.md
parent4f8cecca9733588b083dba8488143fa1ffb0e495 (diff)
downloadmeson-f72ee8e742a171db74ed32b54b85953b8dfe1d77.zip
meson-f72ee8e742a171db74ed32b54b85953b8dfe1d77.tar.gz
meson-f72ee8e742a171db74ed32b54b85953b8dfe1d77.tar.bz2
Rewrap long text lines in docs. [skip ci]
Diffstat (limited to 'docs/markdown/External-commands.md')
-rw-r--r--docs/markdown/External-commands.md12
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