20 lines
370 B
Haskell
20 lines
370 B
Haskell
|
{- Windows processes
|
||
|
-
|
||
|
- Copyright 2014 Joey Hess <joey@kitenet.net>
|
||
|
-
|
||
|
- Licensed under the GNU GPL version 3 or higher.
|
||
|
-}
|
||
|
|
||
|
{-# LANGUAGE ForeignFunctionInterface #-}
|
||
|
|
||
|
module Utility.WinProcess where
|
||
|
|
||
|
import Utility.PID
|
||
|
|
||
|
import System.Win32.Process
|
||
|
import Foreign.C
|
||
|
import Control.Exception
|
||
|
|
||
|
foreign import ccall unsafe "terminatepid"
|
||
|
terminatePID :: PID -> IO ()
|