aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/FAQ.md
diff options
context:
space:
mode:
authorVolker Weißmann <volker.weissmann@gmx.de>2021-10-14 01:35:14 +0200
committerEli Schwartz <eschwartz93@gmail.com>2021-10-30 22:26:28 -0400
commit2c079d855ed87488bdcc6c5c06f59abdb9b85b6c (patch)
tree62206d581a9ff764d948da94d4478dba85bce765 /docs/markdown/FAQ.md
parent3c103fe49ccca848d255b9b00365e74ce35400a4 (diff)
downloadmeson-2c079d855ed87488bdcc6c5c06f59abdb9b85b6c.zip
meson-2c079d855ed87488bdcc6c5c06f59abdb9b85b6c.tar.gz
meson-2c079d855ed87488bdcc6c5c06f59abdb9b85b6c.tar.bz2
Added warning if run_command is called without the check kwarg
Diffstat (limited to 'docs/markdown/FAQ.md')
-rw-r--r--docs/markdown/FAQ.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/markdown/FAQ.md b/docs/markdown/FAQ.md
index 2a37651..74696f8 100644
--- a/docs/markdown/FAQ.md
+++ b/docs/markdown/FAQ.md
@@ -103,7 +103,7 @@ Then you need to run this script in your Meson file, convert the
output into a string array and use the result in a target.
```meson
-c = run_command('grabber.sh')
+c = run_command('grabber.sh', check: true)
sources = c.stdout().strip().split('\n')
e = executable('prog', sources)
```