13 lines
639 B
Plaintext
13 lines
639 B
Plaintext
$OpenBSD: patch-libraries_process_tests_process007_hs,v 1.1 2011/09/16 21:17:41 kili Exp $
|
|
--- libraries/process/tests/process007.hs.orig Thu Sep 15 20:13:52 2011
|
|
+++ libraries/process/tests/process007.hs Thu Sep 15 20:09:08 2011
|
|
@@ -16,7 +16,7 @@ main = do
|
|
|
|
fd <- handleToFd =<< openFile tmpfile ReadMode
|
|
nul <- openFile "/dev/null" WriteMode
|
|
- (_,_,_,p) <- createProcess (shell ("cat 0<&" ++ show fd))
|
|
+ (_,_,_,p) <- createProcess (proc "${LOCALBASE}/bin/bash" ["-c", "cat 0<&" ++ show fd])
|
|
{ close_fds = True,
|
|
std_err = UseHandle nul }
|
|
e <- waitForProcess p
|