summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/shell.hs
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-02-15 22:34:35 +0000
committerIan Lynagh <ian@well-typed.com>2013-02-15 22:36:08 +0000
commitd447f1d23ba69965f16bad373a79bea21bdbbc56 (patch)
treeafb08079569b943309b46c757fb3c778670d5536 /testsuite/tests/ghci/shell.hs
parent28c2b2a1f29b80e38d0db5777af124fe02fce979 (diff)
downloadhaskell-d447f1d23ba69965f16bad373a79bea21bdbbc56.tar.gz
Don't use deprecated System.Cmd
Diffstat (limited to 'testsuite/tests/ghci/shell.hs')
-rw-r--r--testsuite/tests/ghci/shell.hs2
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]