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

Home » Public Forums » archive » Re: SPAWN and strings
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 and strings [message #73375 is a reply to message #73374] Fri, 05 November 2010 07:22 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Ludo writes:

> As expected, if my working directory is "C:\directory name with
> spaces", the following instruction works perfectly :
>
> SPAWN, ' "C:\Program Files\myDir\myProg.exe" myFile.h5'
>
> This one fails :
>
> SPAWN, ' "C:\Program Files\myDir\myProg.exe" "myFile.h5" '
>
> Did I miss something ? Some trick in strings management ?

In IDL, this is a mis-formed command:

IDL> a = "head" "waters"

That's why your last command fails, I think. A valid
string can't be formed.

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.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: How to average every nth data?
Next Topic: Re: MultiDrizzle and IDL

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

Current Time: Sat Nov 29 07:57:23 PST 2025

Total time taken to generate the page: 0.56264 seconds