Skip to content

Allow killing of processes which are known by a System.Process.ProcessHandle

There is no way to kill a process that is known only by it's ProcessHandle. That is, if I use createProcess to create a process, there is no way to kill it again. I can terminate it with terminateProcess but this is not the same.

I would like to be able to kill processes as well.

I think that something like this(completely untested change) would be good:

https://github.com/timthelion/packages-process/commit/10ecc56682b9b71d3c196e47297b0f496cdc2bd7

https://github.com/timthelion/packages-process/commit/c4cdd064d7c154f41a5b2b7f73c6b0ac0b2dccb9

https://github.com/timthelion/packages-process/commit/1588100655f18bc2811edc0a5911e2b14a1ee411

Trac metadata
Trac field Value
Version 7.4.2-rc1
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/process
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information