[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SPAWN and windows

Martin Schultz (martin.schultz@dkrz.de) writes:

>   I am almost ready to release my IDL webmaker tool in its first
> version, but there
> are still a few things I need to clean up. One thing that bothers me
> currently is
> how Windows behaves when I spawn a command: I need to create several
> directopries and copy several files in webmaker, and for each spawned
> command, WINdows opens a DOS Window, flashes the result of the executed
> command at me and closes it again. Besides getting you close to crazy
> watching it happen on the screen, it also seems to allocate quite a few
> system resources which, apparently, are released only much later. Is
> there a way to spawn simple DOS commands without opening a window? In an
> earlier post I saw something like spawn,'start <programname>' -- would
> this help?

No, nothing will help. Having a DOS window flash
at you is a fact of life in the Windows world.
The START command (on WindowsNT at least) allows
you to spawn a process and return immediately to
the IDL command line, without waiting for the 
process to exit.
> Thanks for any answer, win your EPA award!

I'm donating the award to Jim Hamell and his object
widgets page. :-)



David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155