Hi,

"Eric Y. Kow" <[EMAIL PROTECTED]> writes:

> I haven't looked in detail, but...
>
> On Wed, Jan 31, 2007 at 16:48:26 +0000, Benedikt Schmidt wrote:
>> +    (\_ -> system $ cmd++" \"$"++var++"\"")
>
> How about using System.Process.runCommand, which runs a command using
> the shell?

System.Cmd.system does that too, but instead of returning a process handle,
it waits for the process to finish and returns the exit code. So using
system is just a little nicer for this case since we don't have to use
waitForProcess.

Benedikt


_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel

Reply via email to