Verified Commit 7bd7b876 authored by Camil Staps's avatar Camil Staps 🚀

Expect that the app executable ends in .exe

parent d4848ad9
......@@ -169,7 +169,7 @@ function run (_opts) {
const opts=DEFAULTS;
Object.assign (opts,_opts);
const server=spawn ('./'+opts.app,['--port',opts.port],{stdio: 'inherit'});
const server=spawn ('./'+opts.app+'.exe',['--port',opts.port],{stdio: 'inherit'});
server.on ('close',code => {
if (code!==0 && code!==null)
console.log ('iTasks exited with exit code '+code);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment