Commit 3ca65fdd authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

Use System.Process instead of System.Cmd.

System.Cmd is deprecated in process-1.2.
parent b23cb2ae
......@@ -122,7 +122,7 @@ library
deepseq >= 1.3 && < 1.4,
filepath >= 1 && < 1.4,
directory >= 1 && < 1.3,
process >= 1 && < 1.3,
process >= 1.0.1.1 && < 1.3,
time >= 1.1 && < 1.5,
containers >= 0.1 && < 0.6,
array >= 0.1 && < 0.5,
......
......@@ -159,8 +159,6 @@ import System.Directory
, doesDirectoryExist, doesFileExist, removeFile, findExecutable )
import System.Environment
( getProgName )
import System.Cmd
( rawSystem )
import System.Exit
( exitWith, ExitCode(..) )
import System.FilePath
......@@ -192,7 +190,7 @@ import Distribution.Version
(Version(..))
import Control.Exception (IOException, evaluate, throwIO)
import System.Process (runProcess)
import System.Process (rawSystem, runProcess)
import Control.Concurrent (forkIO)
import System.Process (runInteractiveProcess, waitForProcess)
......
......@@ -123,7 +123,7 @@ executable cabal
mtl >= 2.0 && < 3,
network >= 1 && < 3,
pretty >= 1 && < 1.2,
process >= 1 && < 1.3,
process >= 1.0.1.1 && < 1.3,
random >= 1 && < 1.1,
stm >= 2.0 && < 3,
time >= 1.1 && < 1.5,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment