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 ...@@ -122,7 +122,7 @@ library
deepseq >= 1.3 && < 1.4, deepseq >= 1.3 && < 1.4,
filepath >= 1 && < 1.4, filepath >= 1 && < 1.4,
directory >= 1 && < 1.3, directory >= 1 && < 1.3,
process >= 1 && < 1.3, process >= 1.0.1.1 && < 1.3,
time >= 1.1 && < 1.5, time >= 1.1 && < 1.5,
containers >= 0.1 && < 0.6, containers >= 0.1 && < 0.6,
array >= 0.1 && < 0.5, array >= 0.1 && < 0.5,
......
...@@ -159,8 +159,6 @@ import System.Directory ...@@ -159,8 +159,6 @@ import System.Directory
, doesDirectoryExist, doesFileExist, removeFile, findExecutable ) , doesDirectoryExist, doesFileExist, removeFile, findExecutable )
import System.Environment import System.Environment
( getProgName ) ( getProgName )
import System.Cmd
( rawSystem )
import System.Exit import System.Exit
( exitWith, ExitCode(..) ) ( exitWith, ExitCode(..) )
import System.FilePath import System.FilePath
...@@ -192,7 +190,7 @@ import Distribution.Version ...@@ -192,7 +190,7 @@ import Distribution.Version
(Version(..)) (Version(..))
import Control.Exception (IOException, evaluate, throwIO) import Control.Exception (IOException, evaluate, throwIO)
import System.Process (runProcess) import System.Process (rawSystem, runProcess)
import Control.Concurrent (forkIO) import Control.Concurrent (forkIO)
import System.Process (runInteractiveProcess, waitForProcess) import System.Process (runInteractiveProcess, waitForProcess)
......
...@@ -123,7 +123,7 @@ executable cabal ...@@ -123,7 +123,7 @@ executable cabal
mtl >= 2.0 && < 3, mtl >= 2.0 && < 3,
network >= 1 && < 3, network >= 1 && < 3,
pretty >= 1 && < 1.2, pretty >= 1 && < 1.2,
process >= 1 && < 1.3, process >= 1.0.1.1 && < 1.3,
random >= 1 && < 1.1, random >= 1 && < 1.1,
stm >= 2.0 && < 3, stm >= 2.0 && < 3,
time >= 1.1 && < 1.5, 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