[GHC] #7732: Allow killing of processes which are known by a System.Process.ProcessHandle

#7732: Allow killing of processes which are known by a System.Process.ProcessHandle ----------------------------+----------------------------------------------- Reporter: timthelion | Owner: Type: feature request | Status: new Priority: normal | Component: libraries/process Version: 7.4.2-rc1 | Keywords: Os: Linux | Architecture: Unknown/Multiple Failure: None/Unknown | Blockedby: Blocking: | Related: ----------------------------+----------------------------------------------- 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 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7732 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7732: Allow killing of processes which are known by a System.Process.ProcessHandle --------------------------------+------------------------------------------- Reporter: timthelion | Owner: Type: feature request | Status: closed Priority: normal | Milestone: Component: libraries/process | Version: 7.4.2-rc1 Resolution: wontfix | Keywords: Os: Linux | Architecture: Unknown/Multiple Failure: None/Unknown | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: --------------------------------+------------------------------------------- Changes (by igloo): * status: new => closed * difficulty: => Unknown * resolution: => wontfix Comment: Thanks for the suggestion. However, changes to library APIs need to first be discussed on the libraries list, and then a ticket opened if consensus is reached. Please see http://www.haskell.org/haskellwiki/Library_submissions for more details. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7732#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC