September 10, 2014 how to redirect stderr to stdout io in spawnProcess (eg stderr to stdout)? | ||||
|---|---|---|---|---|
| ||||
Attachments:
| 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
Permalink
Reply