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

Home » Public Forums » archive » Re: System command with SPAWN procedure
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: System command with SPAWN procedure [message #33326] Thu, 19 December 2002 07:28
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
"Isa Usman" <eepisu@bath.ac.uk> writes:

> Hello,
>
> Is there a way to make SPAWN close the shell window after executing a system
> command such as 'del' (from help it says /noshell only works for programs).
>
> I've got a procedure which checks for temporary files that I have created
> and periodically deletes them. It starts to get annoying after awhile
> everytime it runs you have to close the window manually

I don't know the answer to your original question, but why not use
FILE_DELETE (IDL distribution), or DEL_FILE (ICG library), neither of
which use the SPAWN command?

Good luck,
Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Previous Topic: Another Windows Question Related to IDL
Next Topic: Using trackball to rotate an image

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

Current Time: Thu Oct 09 22:44:19 PDT 2025

Total time taken to generate the page: 0.80303 seconds