diff options
-rw-r--r-- | Main.hs | 2 | ||||
-rwxr-xr-x | sleep.sh | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -9,7 +9,7 @@ import qualified System.Process as Pr makeWorker :: IO () makeWorker = do _ <- forkIO $ do - Pr.withCreateProcess (Pr.proc "./sleep.sh" []) $ \_ _ _ _ -> do + Pr.withCreateProcess (Pr.proc "sleep" ["10"]) $ \_ _ _ _ -> do threadDelay 1000000 return () diff --git a/sleep.sh b/sleep.sh deleted file mode 100755 index ffd1820..0000000 --- a/sleep.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -sleep 10 |