On Wednesday, 13 August 2014 at 01:58:15 UTC, Timothee Cour via
Digitalmars-d wrote:
On Tue, Aug 12, 2014 at 3:41 PM, Vladimir Panteleev via
Digitalmars-d <
[email protected]> wrote:
And why `cast(Redirect)0`? It's not necessary.
it is, otherwise it defaults to Redirect.all which has
different semantics
than 'system' (so it's not a replacement of it).
Btw, I don't like the cast either; shouldn't there be a
'none=0' value in
the enum?
Not necessary, because pipeShell("foo", Redirect.none) would be
equivalent to spawnShell("foo").