From 13230f15dbd65d8c0ed7836d73cf4e6033b12815 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20=C4=8Cert=C3=ADk?= Date: Tue, 25 Feb 2020 14:31:33 -0800 Subject: Execute ls --- src/Lib.hs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/Lib.hs') diff --git a/src/Lib.hs b/src/Lib.hs index d36ff27..f51f079 100644 --- a/src/Lib.hs +++ b/src/Lib.hs @@ -2,5 +2,12 @@ module Lib ( someFunc ) where +-- import Development.Shake (cmd) +import System.Process (callCommand) + + someFunc :: IO () -someFunc = putStrLn "someFunc" +someFunc = do + putStrLn "someFunc" + a <- callCommand "ls -l" + return () -- cgit v1.2.3