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

Home » Public Forums » archive » SPAWN command blocked in 5.3.1
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
SPAWN command blocked in 5.3.1 [message #33646] Sun, 12 January 2003 14:11 Go to next message
Harro Uwe Hieninger is currently offline  Harro Uwe Hieninger
Messages: 5
Registered: January 2003
Junior Member
Hi there,

trying to start a programm from IDL, I got a message box telling me
"SPAWN blocked by IDL"

I assume this is a security thing?! But is there a way to allow it?

Thanks,
Harro
Re: SPAWN command [message #84497 is a reply to message #33646] Wed, 22 May 2013 13:26 Go to previous message
Jim  Pendleton is currently offline  Jim Pendleton
Messages: 165
Registered: November 2011
Senior Member
On Sunday, May 19, 2013 11:28:44 AM UTC-6, Chicho wrote:
> Hi,
>
>
>
> I am a novel user of IDL and I am developing a program in IDL with a problem and I am contacting you to find a solution.
>
>
>
> I am using the SPAWN command to execute a fortran program (Modos.exe) in IDL. My IDL program modifies the input of the fortran program and execute Modos.exe within a looping.
>
>
>
> If the IDL program modifies the input of the fortran program, stop and manually I execute Modes.exe, it is running correctly. But if Modos.exe is executed within the IDL program using the sentence:
>
>
>
> spawn, 'G:\Herramientas\Modos.exe'
>
>
>
> ,they are the following errors:
>
>
>
> forrtl: severe (161): Program Exception - array bounds exceeded Image PC Routine Line Source
>
> Modos.exe 004027A7 Unknown Unknown Unknown Modos.exe 004025CB Unknown Unknown Unknown
>
> Modos.exe 004047C4 Unknown Unknown Unknown Modos.exe 004039E1 Unknown Unknown Unknown
>
> Modos.exe 0040374D Unknown Unknown Unknown Modos.exe 00403382 Unknown Unknown Unknown
>
> Modos.exe 00401524 Unknown Unknown Unknown Modos.exe 004519C9 Unknown Unknown Unknown
>
> Modos.exe 00436EB9 Unknown Unknown Unknown kernel32.dll 7C817077 Unknown Unknown Unknown Incrementally linked image--PC correlation disabled.
>
>
>
> Do you have some idea about how I could solve these errors?.
>
>
>
> Thanks a lot in advance and kind regards,
>
>
>
> Chicho

Is there a chance you need to CD to the directory containing the executable?

spawn, 'cd G:\Herramientas & Modos.exe'

The error isn't very enlightening. Though it may not help, can you build your executable with debugging enabled?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Coyote Library Update
Next Topic: minimization method(amoeba subroutine)

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

Current Time: Wed Oct 08 15:11:32 PDT 2025

Total time taken to generate the page: 0.00677 seconds