comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » SPAWN exit status different from shell exit status.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: SPAWN exit status different from shell exit status. [message #88889 is a reply to message #88872] Tue, 01 July 2014 11:49 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Monday, June 30, 2014 10:04:52 AM UTC-4, Paul van Delst wrote:
> Does anyone have any idea why SPAWN is not setting the EXIT_STATUS
> correctly?

Works for me.
IDL> spawn, 'bash -c "exit 10"', exit_status=exit_status
IDL> print, exit_status
----> 10

I tried IDL 7 and IDL 8, Linux and Mac.

Craig
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: CPU usage
Next Topic: Need to create a polygon shapefile from a binary mask... any functions that could help?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 03:59:52 PDT 2025

Total time taken to generate the page: 1.43958 seconds