I think the exit_status keyword is returning the pid here
instead of the exit status?
GDL> spawn, "/bin/true", exit_status=code
GDL> spawn, "/bin/false", exit_status=code
That's right, the pid was returned.
It's fixed in the CVS.
Thanks very much for the quick fix!