I am executing Meteor via node
child_process.exec, but I cannot find the process id on windows to kill it.
Exiting, out of the parent process does not kill it, as it shouldn’t. I can kill node and mongo manually, but I get
Unexpected mongo exit code 100. Restarting.
when I do. Anyone, know of a solution?
Edit: If anyone comes across this post, meteor provides the process id via an environment variable
METEOR_PARENT_PID, so you can just kill it via process.kill