Re: how to redirect stderr to stdout io in spawnProcess (eg stderr to stdout)?

2014-09-14 Thread Timothee Cour via Digitalmars-d-learn
ping? On Tue, Sep 9, 2014 at 6:48 PM, Timothee Cour thelastmamm...@gmail.com wrote: 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

how to redirect stderr to stdout io in spawnProcess (eg stderr to stdout)?

2014-09-09 Thread Timothee Cour via Digitalmars-d-learn
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