james-browser-launcher icon indicating copy to clipboard operation
james-browser-launcher copied to clipboard

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

Open mitchhentges opened this issue 9 years ago • 2 comments

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 avatar Feb 26 '16 16:02 mitchhentges

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

mitchhentges avatar Feb 26 '16 16:02 mitchhentges

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.

tomitm avatar Feb 27 '16 03:02 tomitm