diff options
-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] |