It appears that spawning detached in Windows isn't the correct approach. This reverts 'detached' when running in Windows. Also, nodejs and killing the child process also doesn't play nicely in Windows, so this uses the native taskkill command instead.
This commit fixes the issue of the extra terminal window starting in Windows. It also fixes the killing of the JVM process associated with the REPL on REPL-exit (as the original PR intended).
@jasongilman Please take a look at this one soon, as proto-repl is unusable on Windows in the current release.
Fixes https://github.com/jasongilman/proto-repl/issues/300
It appears that spawning detached in Windows isn't the correct approach. This reverts 'detached' when running in Windows. Also, nodejs and killing the child process also doesn't play nicely in Windows, so this uses the native
taskkill
command instead.This commit fixes the issue of the extra terminal window starting in Windows. It also fixes the killing of the JVM process associated with the REPL on REPL-exit (as the original PR intended).
@jasongilman Please take a look at this one soon, as proto-repl is unusable on Windows in the current release.