RE: Return code from p:exec?

> >> Does anyone else think it's odd that we don't provide the 
> exit value
> >> given by the exec'd process?
> >> 
> >
> > Good point. I think we could add "exit-value" port to p:exec with no
> > harm.
> 
> It can only ever be an integer, so can't we just say that it's an
> attribute on the c:result that exec produces?

Fine by me, as long as it does not matter that we will have to change
the schema for c:result (and that "exit-value" will not make any sense
for the other steps that produce c:result).

> 
> More challenging: should p:exec have a parameter input port and should
> it use those parameters to set environment variables?
> 

Hmm, why not?

Regards,
Vojtech

Received on Thursday, 4 December 2008 10:04:39 UTC