diff --git a/run.n b/run.n index cf0fdb0f4..cd694f9ea 100644 Binary files a/run.n and b/run.n differ diff --git a/script/src/RunScript.hx b/script/src/RunScript.hx index 852846f57..f32476be4 100644 --- a/script/src/RunScript.hx +++ b/script/src/RunScript.hx @@ -75,8 +75,14 @@ class RunScript { case "serve": //non blocking open the page - new sys.io.Process('open', ['http://localhost:55555/']); + var system = Sys.systemName(); + if(system == "Windows") { + new sys.io.Process('cmd', ['/C start http://localhost:55555/']); + } else { + new sys.io.Process('open', ['http://localhost:55555/']); + } //blocking server call + var args = ['server', '-p', '55555', '-h', 'localhost' ,'-d' , cwd + 'bin/html5/bin/']; //run the server Sys.command("nekotools", args);