diff options
author | Paolo Borelli <pborelli@gnome.org> | 2019-11-19 20:07:02 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-11-19 21:07:02 +0200 |
commit | 294b33144fbf5628d2a672f907c1f5460577234a (patch) | |
tree | 7fe6102f59c5a31d8f857addddd1040b36b63e4f /docs/markdown/External-commands.md | |
parent | 6ed36e97aeb01dd779115a9710d3a97cdbcb4ccf (diff) | |
download | meson-294b33144fbf5628d2a672f907c1f5460577234a.zip meson-294b33144fbf5628d2a672f907c1f5460577234a.tar.gz meson-294b33144fbf5628d2a672f907c1f5460577234a.tar.bz2 |
docs: clarify how Meson handles shebang in run_command [skip ci]
Diffstat (limited to 'docs/markdown/External-commands.md')
-rw-r--r-- | docs/markdown/External-commands.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/markdown/External-commands.md b/docs/markdown/External-commands.md index cafd280..e8f335f 100644 --- a/docs/markdown/External-commands.md +++ b/docs/markdown/External-commands.md @@ -39,6 +39,9 @@ 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. + 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 must either split up the string into separate arguments or pass the |