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

Home » Public Forums » archive » Re: journal call broken with 7.x
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: journal call broken with 7.x [message #68931] Tue, 08 December 2009 11:01 Go to next message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
Reimar Bauer wrote:
> does one know a way to call a journal file by idl or idlde for windows
> from the shell?
>
> In the past you were able to do a spawn, 'idlde.exe @my_script.pro' from
> a running idlde.

So you want to run a batch file in another IDL process? So this is not
really to do with the JOURNAL command.

I could not get this to work on Windows, but it was fine on Mac OS X.
You should be able to get rid of the @-sign from your SPAWN command.
When I specified the full path to the idl.exe program and to the batch
file, it looked like it found the batch file, but did not run it.

Do you really need to run another IDL process? i.e., it is not good
enough to do the following?

IDL> @my_script

Alternatively, if this needs another IDL process, could you use the
IDL_IDLBridge?

Mike
--
www.michaelgalloy.com
Research Mathematician
Tech-X Corporation
Re: journal call broken with 7.x [message #69010 is a reply to message #68931] Wed, 09 December 2009 09:00 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
mgalloy schrieb:
> Reimar Bauer wrote:
>> does one know a way to call a journal file by idl or idlde for windows
>> from the shell?
>>
>> In the past you were able to do a spawn, 'idlde.exe @my_script.pro' from
>> a running idlde.
>
> So you want to run a batch file in another IDL process? So this is not
> really to do with the JOURNAL command.

yes, I have used a journal in the past

>
> I could not get this to work on Windows, but it was fine on Mac OS X.
> You should be able to get rid of the @-sign from your SPAWN command.
> When I specified the full path to the idl.exe program and to the batch
> file, it looked like it found the batch file, but did not run it.

my founding too

>
> Do you really need to run another IDL process? i.e., it is not good
> enough to do the following?

no it isn't it should run without an additional user input.

>
> IDL> @my_script
>
> Alternatively, if this needs another IDL process, could you use the
> IDL_IDLBridge?

hmm, not sure have to look at it, I just don't want to loose
functionality which I have had before and can use on other non windows
systems.

I send a bug report to CREASO

cheers
Reimar

>
> Mike
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Full text searching of IDL code libraries?
Next Topic: Re: renaming a variable without making a copy

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

Current Time: Wed Oct 08 17:12:02 PDT 2025

Total time taken to generate the page: 0.00371 seconds