September 15, 2014 Re: how to redirect stderr to stdout io in spawnProcess (eg stderr to stdout)? | ||||
---|---|---|---|---|
| ||||
Attachments:
| ping?
On Tue, Sep 9, 2014 at 6:48 PM, Timothee Cour <thelastmammoth@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 = spawnShell(command,
> std.stdio.stdin,
> logFile,
> logFile);
>
>
|
Copyright © 1999-2021 by the D Language Foundation