rawSystem -package:Cabal
The computation
rawSystem cmd args runs
the operating system command
cmd in such a way that it
receives as arguments the
args strings exactly as
given, with no funny escaping or shell meta-syntax expansion. It will
therefore behave more portably between operating systems than
system.
The return codes and possible failures are the same as for
system.
Run command without shell
Invokes the specified command in a subprocess, without waiting for the
result. Returns the PID of the subprocess -- it is YOUR responsibility
to use getProcessStatus or getAnyProcessStatus on that at some point.
Failure to do so will lead to resource leakage (zombie processes).
This function does nothing with signals. That too is up to you.
Logs as System.Cmd.Utils.forkRawSystem
Invokes the specified command in a subprocess, waiting for the result.
Return the result status. Never raises an exception. Only available on
POSIX platforms.
Like system(3), this command ignores SIGINT and SIGQUIT and blocks
SIGCHLD during its execution.
Logs as System.Cmd.Utils.posixRawSystem