Manatee.Toolkit.General.Process
- runProcess_ :: FilePath -> [String] -> IO ()
- runProcessDefault :: FilePath -> [String] -> IO ProcessHandle
- runCommand_ :: String -> IO ()
- runExternalCommand :: String -> IO ()
- execute :: String -> String -> Bool -> IO (Maybe String)
Documentation
runProcess_ :: FilePath -> [String] -> IO ()Source
Like runProcessDefault
, but wait for child process terminate.
To avoid *zombie* child process.
You will got zombie child process when child process exist before
parent process, and parent process don't wait process.
runProcessDefault :: FilePath -> [String] -> IO ProcessHandleSource
Like runProcess
, but just accept path and args.
runCommand_ :: String -> IO ()Source
Like run runCommand
, but return IO ()
runExternalCommand :: String -> IO ()Source
Run external command and won't kill when parent process exit.