diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-02-15 21:51:25 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-02-15 21:51:25 +0000 |
commit | 6c743b6cab7632779d6509c2f6de1e9830acd263 (patch) | |
tree | de396b31f354db5f1df0866f3645b998b960e275 /utils | |
parent | ed2108267b93e6abd769192bdc8fe86cefef7a70 (diff) | |
download | haskell-6c743b6cab7632779d6509c2f6de1e9830acd263.tar.gz |
Stop using the deprecated System.Cmd
Diffstat (limited to 'utils')
-rw-r--r-- | utils/ghc-pkg/Main.hs | 3 | ||||
-rw-r--r-- | utils/runghc/runghc.hs | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/utils/ghc-pkg/Main.hs b/utils/ghc-pkg/Main.hs index 6e9dba6dab..2e7bab6cc4 100644 --- a/utils/ghc-pkg/Main.hs +++ b/utils/ghc-pkg/Main.hs @@ -21,7 +21,7 @@ import Distribution.Text import Distribution.Version import System.FilePath as FilePath import qualified System.FilePath.Posix as FilePath.Posix -import System.Cmd ( rawSystem ) +import System.Process import System.Directory ( getAppUserDataDirectory, createDirectoryIfMissing, getModificationTime ) import Text.Printf @@ -61,7 +61,6 @@ import System.Posix hiding (fdToHandle) #endif #if defined(GLOB) -import System.Process(runInteractiveCommand) import qualified System.Info(os) #endif diff --git a/utils/runghc/runghc.hs b/utils/runghc/runghc.hs index 7c306475b6..1673e7bdeb 100644 --- a/utils/runghc/runghc.hs +++ b/utils/runghc/runghc.hs @@ -20,12 +20,12 @@ module Main (main) where import Control.Exception import Data.Monoid -import System.Cmd import System.Directory import System.Environment import System.Exit import System.FilePath import System.IO +import System.Process #if defined(mingw32_HOST_OS) import Foreign |