How to use the std.process?

Mengu via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue May 13 03:19:15 PDT 2014


On Tuesday, 13 May 2014 at 08:56:43 UTC, FrankLike wrote:
> I want to start the process by std.process.
>
> module main;
> import std.process,std.stdio;
> void main()
> {
> 	string url = "http://dlang.org/";
> 	executeShell(escapeShellCommand("wget", url, "-O", 
> "dlang-index.html"));
> 	executeShell("iexplore localhost:8080");
> }
>
> But not open 'IE'. Why?
>
> Thank you.

does it work when you run "iexplore localhost:8000" in command
line? is path to iexplore in your windows path?


More information about the Digitalmars-d-learn mailing list