Re: System command with SPAWN procedure [message #33326] |
Thu, 19 December 2002 07:28 |
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
------------------------------------------------------------ --------------
|
|
|