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

Home » Public Forums » archive » SPAWN under Unix question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
SPAWN under Unix question [message #20981] Thu, 03 August 2000 00:00 Go to previous message
Paul van Delst is currently offline  Paul van Delst
Messages: 364
Registered: March 1997
Senior Member
Hey there,

I want to execute some system commands (cp, tar, rm) using SPAWN on a
Linux system. Does IDL execution suspend while the OS command is
executing? The reason I ask is my IDL code copies some files, tar's them
up, then deletes the files. If the spawn works in the background, things
can get quite muddled.

The documentation states:

"If Command is not present, SPAWN starts an interactive command
interpreter process. Under UNIX, the default shell is used. IDL
execution suspends until the new shell process terminates. Under UNIX,
shells that handle process suspension (e.g., /bin/csh) offer a more
efficient way to get the same effect."

but it doesn't say what happens if "command" is not present.

TIA

paulv

p.s. I really should pull my finger out and learn Perl, but IDL is so
easy to use.....
--
Paul van Delst Ph: (301) 763-8000 x7274
CIMSS @ NOAA/NCEP Fax: (301) 763-8545
Rm.202, 5200 Auth Rd. Email: pvandelst@ncep.noaa.gov
Camp Springs MD 20746
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Top 10 for young farts
Next Topic: Re: Political Action Committee Derailed

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

Current Time: Wed Oct 08 18:10:38 PDT 2025

Total time taken to generate the page: 0.00649 seconds