SPAWN proceedure under Windows NT [message #6288] |
Wed, 22 May 1996 00:00 |
Joseph M Zawodny
Messages: 24 Registered: March 1996
|
Junior Member |
|
|
Hello,
I've been slowly migrating my IDL routines from UNIX to Windows NT
(without too much pain I might add), but I have recently run into a problem
with the SPAWN proceedure. I'm running version 4.0.1 and have NT version
3.51 on a Pentium Pro. Basically the manual says SPAWN should work under
windows and it does pop up a DOS box and execute the commands properly,
however, I cannot get it to return a result back to IDL.
example: SPAWN,'dir /b d:\g2p',list returns list as undefined.
I see the DOS box appear and the listing zoom by. At the end just before
the DOS box disappears I see another tiny window (like a dreaded Windows
dialog box) pop up but (and I thought I'd never say this) my system is too
fast and I cannot read the contents of it before it disappears. Any clues?
Does SPAWN work for anyone who may be using NT? What about Win 95 or 3.1?
Thanks,
--
Work: Dr. Joseph M. Zawodny Play: Joe Zawodny
NASA Langley Research Center KO4LW@amsat.org
E-mail: J.M.Zawodny@LaRC.NASA.gov zawodny@exis.net
|
|
|