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

Home » Public Forums » archive » Re: 6.1 vs. previous: runtime changes working directory
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: 6.1 vs. previous: runtime changes working directory [message #43204 is a reply to message #43200] Thu, 24 March 2005 16:32 Go to previous messageGo to previous message
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
> I tried that already - it gives the same answer.
>
> The directory is correct when I'm in "interactive" idl, but NOT for
> runtime.

Could you wrap your IDL call in a shell script where you also set your
own environmental variable and use that instead? For example,

$ export CWD=$PWD && idl
IDL> cwd = getenv('CWD')

-Mike
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: getting y Coordinates of NetCDF file
Next Topic: 6.1 vs. previous: runtime changes working directory

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

Current Time: Sun Oct 12 16:32:36 PDT 2025

Total time taken to generate the page: 0.00205 seconds