From f72ee8e742a171db74ed32b54b85953b8dfe1d77 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sat, 30 Jan 2021 13:20:59 +0200 Subject: Rewrap long text lines in docs. [skip ci] --- docs/markdown/External-commands.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'docs/markdown/External-commands.md') 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 -- cgit v1.1