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

Home » Public Forums » archive » Re: SPAWN Problems under Windows
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: SPAWN Problems under Windows [message #52130 is a reply to message #52127] Fri, 05 January 2007 15:03 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
aberte@gmail.com wrote:
> spawn, cmd, /LOG_OUTPUT ; works!
> spawn, [cmd,params], /LOG_OUTPUT ; does not work :(

I believe the array syntax here (i.e. [cmd, params]) is only used with
the NOSHELL keyword set.

IDL> spawn, ['ls', '-l'], /noshell
total 0
drwx------ 5 mgalloy mgalloy 170 Jan 5 13:14 Desktop
drwx------ 12 mgalloy mgalloy 408 Dec 14 15:33 Documents
drwx------ 37 mgalloy mgalloy 1258 Dec 18 13:16 Library
drwx------ 3 mgalloy mgalloy 102 Sep 26 02:21 Movies
drwx------ 4 mgalloy mgalloy 136 Sep 26 10:51 Music
drwx------ 6 mgalloy mgalloy 204 Oct 31 10:46 Pictures
drwxr-xr-x 4 mgalloy mgalloy 136 Sep 26 02:21 Public
drwxr-xr-x 6 mgalloy mgalloy 204 Dec 1 11:27 Sites
drwxr-xr-x 4 mgalloy mgalloy 136 Dec 1 11:28 archive
drwxr-xr-x 2 mgalloy mgalloy 68 Oct 20 13:55 bin
drwxr-xr-x 37 mgalloy mgalloy 1258 Dec 27 10:06 projects
IDL> spawn, ['ls', '-l']
Desktop Library Music Public archive
projects
Documents Movies Pictures Sites bin

Mike
--
www.michaelgalloy.com
[Message index]
 
Read Message
Read Message
Previous Topic: SPAWN Problems under Windows
Next Topic: Array with mixing data types

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

Current Time: Sun Oct 26 17:50:03 PDT 2025

Total time taken to generate the page: 2.55910 seconds