Kevin Ingwersen (Ingwie Phoenix)
unread,Nov 9, 2014, 8:47:05 PM11/9/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ninja-build
Hey.
While writing on a program that needs to execute child processes, I had to look into Ninja’s code to find a more…cross-platform method. But that brought to my attention, that many people, like on StackOverflow, suggest to just use a redirection instead of creating a pipe for STDOUT and STDERR. I wanted to know, if Ninja actually uses two different pipes or just redirects STDERR into STDOUT and only checks failure on the exit status?
Would be nice to know, since I didn’t find the relative part in the code yet, nly just got thru reading sub_process.cc…
Kind regards, Ingwie