Issue Details (XML | Word | Printable)

Key: SRC-343
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Dan Fabulich
Reporter: Dan Fabulich
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Selenium Remote Control

Can't kill IE launched via killableprocess.exe when ProcessExplorer is running

Created: 07/Sep/07 08:36 PM   Updated: 18/Nov/08 08:17 AM   Resolved: 13/Sep/07 02:23 AM
Component/s: Launcher - Internet Explorer
Affects Version/s: None
Fix Version/s: 0.9.2


 Description  « Hide

This was a weird one to discover. http://forum.sysinternals.com/forum_posts.asp?TID=4094

killableprocess.exe kills the job by allowing the last handle to the spawned Job to close (using the job limit "JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE"). But SysInternals ProcessExplorer keeps a handle on every Job it can find, preventing the Job from closing naturally.

The fix for this would be for us to taskkill killableprocess.exe, which works fine. killableprocess could spit out its own process ID on the command line, allowing the parent process to pass it to taskkill.exe.



Sort Order: Ascending order - Click to sort in descending order
Dan Fabulich added a comment - 13/Sep/07 02:23 AM

Fixed in rc revision 2001. Instead of trying to taskkill killableprocess, I just made killableprocess commit suicide if it received a newline on stdin.