summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/shell.hs
diff options
context:
space:
mode:
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]