running an external .exe

Jesse Phillips jessekphillips+D at gmail.com
Tue Feb 16 22:34:14 PST 2010


Funog wrote:

> Is it possible to run an external .exe and have access to its standard input/output? Apparently std.process does not allow this.
>
>

In D2 std.process has an undocumented function:

string shell(string cmd)

which will give you the output. But might be undocumented because it
doesn't work in Windows. I don't know of anything to manipulate input.


More information about the Digitalmars-d-learn mailing list