Doc Comments / Phobos /
Std Process
std.process
Comments
in executeShell: it says: Returns: A struct which contains the fields int status and string output. (This will most likely change to become a std.typecons.Tuple!(int,"status",string,"output") in the future, but a compiler bug currently prevents this.)
However, if I use: return Tuple!(int, "status", string, "output")(wait(p.pid), cast(string) a.data); it works for me.
Links