[erlang-questions] os:cmd/1 with return code

Tim Fletcher twoggle@REDACTED
Sat Oct 18 11:57:59 CEST 2008


> I've been trying to implement and os:cmd/1 variant that also returns
> the status code of the executed command. But it proved to be
> exceedingly difficult.

There's an example of that in eunit:

  http://svn.process-one.net/contribs/trunk/eunit/src/eunit_lib.erl



More information about the erlang-questions mailing list