diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-02-15 22:34:35 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-02-15 22:36:08 +0000 |
commit | d447f1d23ba69965f16bad373a79bea21bdbbc56 (patch) | |
tree | afb08079569b943309b46c757fb3c778670d5536 | |
parent | 28c2b2a1f29b80e38d0db5777af124fe02fce979 (diff) | |
download | haskell-d447f1d23ba69965f16bad373a79bea21bdbbc56.tar.gz |
Don't use deprecated System.Cmd
-rw-r--r-- | testsuite/tests/ghci/shell.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/ghci/shell.hs b/testsuite/tests/ghci/shell.hs index 5b4fdd1abb..4c08a8f349 100644 --- a/testsuite/tests/ghci/shell.hs +++ b/testsuite/tests/ghci/shell.hs @@ -2,8 +2,8 @@ -- scripts. We're assuming that sh is in the path and that it -- is a Bourne-compatible shell. -import System.Cmd import System.Exit +import System.Process (rawSystem) shell :: String -> IO ExitCode shell s = rawSystem "sh" ["-c", s] |