SPAWN command blocked in 5.3.1 [message #33646] |
Sun, 12 January 2003 14:11  |
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  |
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?
|
|
|