summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2022-09-08 10:11:44 +0200
committerTom Smeding <tom@tomsmeding.com>2022-09-08 10:11:44 +0200
commitea24a96c35430761084610eff2c84b196998f68c (patch)
tree6e433069731274a93d697c02bd8b188c938b5c91
parent9a8190e3dd6899ca1be16fa24172e842fcb16bd8 (diff)
No more sleep.shHEADmaster
-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