Skip to content

Commit

Permalink
Fix windows spawn error
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtskydJ committed Dec 22, 2015
1 parent aaff401 commit 33f739c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/khaos
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@ if (!exists(bin)) logger.fatal('The "%s" command does not exist.', name);
* Spawn a new, forwarded child process with the executable.
*/

spawn(bin, args, { stdio: 'inherit' })
spawn('node', [ bin ].concat(args), { stdio: 'inherit' })
.on('close', process.exit.bind(process));

0 comments on commit 33f739c

Please sign in to comment.