3e839ab327
Code for terminating processes on Windows is not linking anymore; made a warning be displayed instead. This breaks restarting the assistant and git annex assistant --stop. I hope to see the code added to the Win32 library, where it should fit better and should avoid whatever problem is making the linker not like it when included in git-annex. I opened an issue requesting its addition, here: https://github.com/haskell/win32/issues/91 This commit was sponsored by Thomas Hochstein on Patreon.
13 lines
268 B
Haskell
13 lines
268 B
Haskell
{- Windows processes
|
|
-
|
|
- Copyright 2014 Joey Hess <id@joeyh.name>
|
|
-
|
|
- License: BSD-2-clause
|
|
-}
|
|
|
|
module Utility.WinProcess where
|
|
|
|
import Utility.PID
|
|
|
|
terminatePID :: PID -> IO ()
|
|
terminatePID p = warning "terminating processes on windows is not currently working"
|