import System.Processimport System.Exit main = do (_,_,_,p) <- createProcess (proc "dirdcv" []) ExitFailure _ <- waitForProcess p -- This line is never printed: putStrLn "The command failed"
Standard input is empty
The command failed
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!