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

Home » Public Forums » archive » Re: SPAWN in 7.1
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: SPAWN in 7.1 [message #68862] Mon, 23 November 2009 06:23
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
david writes:

> I have a problem with the SPAWN procedure in IDL 7.1 and windows xp.
>
> When i try for example:
>
>> SPAWN,'dir ',files
>
> It reports, SPAWN:Unable to capture child process output
>
> If i try:
>
>> SPAWN,'dir '
>
> it works
>
> It seems that is not able to "collect" the result in the variable. Why?
> Anybody else has this problem?

No, I have no problem capturing output in IDL 7.1 with
Windows XP.

IDL> print, !version
{ x86 Win32 Windows Microsoft Windows 7.1 Apr 21 2009 32 64}
IDL> spawn, 'dir', files
IDL> print, files
Volume in drive C has no label. Volume Serial Number is A4A5-4936
Directory of C:\IDL
11/19/2009 04:01 PM <DIR> . 11/19/2009 04:01 PM <DIR>
..
05/13/2009 10:00 PM <DIR> .metadata 11/01/2009 09:44 AM
3,819,666 20070525092058.ps
04/22/2009 06:34 AM 83,920 69003_prof.nc 11/13/2009 12:46
PM <DIR> ActiveContour


Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: SPAWN in 7.1
Next Topic: widget confusion

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

Current Time: Sat Oct 11 02:22:38 PDT 2025

Total time taken to generate the page: 0.13171 seconds