diff options
author | Tom Smeding <tom@tomsmeding.com> | 2022-09-08 10:11:44 +0200 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2022-09-08 10:11:44 +0200 |
commit | ea24a96c35430761084610eff2c84b196998f68c (patch) | |
tree | 6e433069731274a93d697c02bd8b188c938b5c91 | |
parent | 9a8190e3dd6899ca1be16fa24172e842fcb16bd8 (diff) |
-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 |