how to redirect stderr to stdout io in spawnProcess (eg stderr to stdout)?
Timothee Cour via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Sep 9 18:48:18 PDT 2014
How to redirect io in spawnProcess (eg stderr to stdout)?
is it safe to use it with a same File object for stderr and stdout as
follows?
Couldn't find this in the docs.
auto logFile =File(...);
auto pid = spawnShell(command,
std.stdio.stdin,
logFile,
logFile);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20140909/3732f0f1/attachment.html>
More information about the Digitalmars-d-learn
mailing list