On Tuesday, 13 May 2014 at 10:48:06 UTC, FrankLike wrote:
does it work when you run "iexplore localhost:8000" in command
line? is path to iexplore in your windows path?
Ok,I get the answer by myself.
module main;
import std.process,std.stdio;
void main()
{
//spawnProcess("C:\\Program Files (x86)\\Internet
Explorer\\iexplore");
spawnProcess(["C:\\Program Files (x86)\\Internet
Explorer\\iexplore", "http://localhost:8080" ]);
}
:-D
Frank
that is actually what i meant by "is path to iexplore in your
windows path?" :)