Re: vm cwd in *nix [message #54772 is a reply to message #54747] |
Tue, 03 July 2007 16:33  |
Michael Galloy
Messages: 1114 Registered: April 2006
|
Senior Member |
|
|
On Jul 3, 4:50 pm, rcl...@hindmost.lpl.arizona.edu (Richard Clark)
wrote:
> I'm developing a tool for use in an application (and on workstation)
> that doesn't otherwise use idl so I'm hoping to run it in the idl
> virtual machine.
>
> Running it in normal fully interactive idl it works fine but not in
> vm. I figured out that this is because the vm comes up in the location
> of the .sav file as its current working directory.
>
> Is there an easy way to notify the vm application of the location it
> is being started from without the user having to type in
> big_long_convoluted_path_name at some point?
Do you mean start with a given current directory or just to know what
directory it is started from?
If you just want to know where you are starting from, everyone seems
to have their own version, mine is:
http://michaelgalloy.com/wp-content/uploads/2007/07/mg_src_r oot.pro
Called from a routine, it will return the directory of the .pro
or .sav file where that routine was located.
If you want to start in a given directory, just use CD (the IDL
routine).
> And a related question...
>
> Is there a way to automatically generate a mouse click to get past the
> vm startup screen? (again, this is all linux/unix so a non portable
> solution is ok)
> The application mentioned above is semi-interactive and a human is in
> the loop, but we have a couple of fully automated processing pipelines
> (multiple, independent instances may be running, each at its own rate)
> where we would like to use idl but also need to keep costs under
> control.
I believe the answer to that is to buy a runtime license.
> Has anyone ever translated their documentation about licensing into
> english?
No.
Mike
--
www.michaelgalloy.com
|
|
|