module Main where import System import System.Process import Control.Monad main :: IO () main = do putStrLn "Running command..." pid <- runCommand "/home/asafe/slide.sh 15" replicateM_ 10 $ putStrLn "Doing other stuff" waitForProcess pid >>= exitWith
It works fine. But if the string passed to runCommand contains any non english letter(such as ç, á), the script fails. Any ideas?


Sign In
Create Account


Back to top









