Doc Comments / Phobos /
Std Process
Difference (last change) (no other diffs, normal page display)
Changed: 6,8c6
Add your comments here... |
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.) |
Added: 9a8,10
However, if I use: return Tuple!(int, "status", string, "output")(wait(p.pid), cast(string) a.data); it works for me. |
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