summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Main.hs2
-rwxr-xr-xsleep.sh2
2 files changed, 1 insertions, 3 deletions
diff --git a/Main.hs b/Main.hs
index fa27ae7..d86913c 100644
--- a/Main.hs
+++ b/Main.hs
@@ -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