From ea24a96c35430761084610eff2c84b196998f68c Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Thu, 8 Sep 2022 10:11:44 +0200 Subject: No more sleep.sh --- Main.hs | 2 +- sleep.sh | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100755 sleep.sh 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 -- cgit v1.2.3-70-g09d2