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