On Oct 28, 2008, at 3:09 AM, marcomaggi wrote:
On Oct 28, 6:05 am, Abdulaziz Ghuloum <[EMAIL PROTECTED]> wrote:
On Oct 27, 2008, at 3:58 PM, marcomaggi wrote:
* IMHO there is no reason not to export WSTATUS? and
MAKE-WSTATUS, too, from (ikarus.posix) because they
can be useful when debugging;
[...]
(I don't see how making a wstatus is useful for debugging;
please elaborate)
To test execution paths that react to error exit codes and
signals, which are not always easy to simulate by controlling
the child process behaviour.
You can always make a wrapper around these procedures that
returns a record with the interface that you like. The
internal representation of wstatus may change in the future
to add new fields (for example, recording the resource usage
of the child process). Exposing the interface makes too
strong a dependance between your code and the internals of
Ikarus: the thing that you should be avoiding at all cost.
Aziz,,,