Last update June 13, 2013

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


FrontPage | News | TestPage | MessageBoard | Search | Contributors | Folders | Index | Help | Preferences | Edit

Edit text of this page (date of last change: June 13, 2013 8:11 (diff))