Command output

44 views
Skip to first unread message

Domenico Panella

unread,
Mar 6, 2023, 5:37:37 AM3/6/23
to meson...@googlegroups.com
Hi everyone!

is there a way to redirect the run_command(myprog, check: true) output
to console?

Greetings

Eli Schwartz

unread,
Mar 6, 2023, 5:52:00 AM3/6/23
to Domenico Panella, meson...@googlegroups.com
No, but you can print it with message(retval.stdout()) after it runs.

It is also logged in builddir/meson-logs/meson-log.txt no matter what.


--
Eli Schwartz
Reply all
Reply to author
Forward
0 new messages