james-proxy / james-browser-launcher

Detect, launch and stop browsers
Other
23 stars 15 forks source link

`launch.js` with IE stops twice, and the first stop fails #11

Open mitchhentges opened 8 years ago

mitchhentges commented 8 years ago

See the output when I run launch.js with BROWSER=ie:

$ set BROWSER=ie
$ node example/launch.js
Instance started with PID: 3684
Instance stopped with exit code: 1
Instance stopped with exit code: 0

@tomitm, maybe you'd be interested?

mitchhentges commented 8 years ago

There is a still an issue with re-spawning the ie browser after my code stops the browser. I think it might be a windows thing not allowing for terminating the process. You might want to explore that further.

See vsashidh's comment here

tomitm commented 8 years ago

IE has a multi-process model, like Chrome, so there's multiple processes that are launched, regardless of if it's launched by browser-launcher or yourself via run.

Either way, I imagine it shouldn't be exiting with error 1. I'll poke around a bit and see what I can find.