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

Home » Public Forums » archive » Running fortran exectuable using IDL spawn fails
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: Running fortran exectuable using IDL spawn fails [message #93511 is a reply to message #93510] Tue, 09 August 2016 07:34 Go to previous messageGo to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
On Tuesday, August 9, 2016 at 4:17:26 PM UTC+2, susanne...@gmail.com wrote:
> IDL> print, result
> Press any key to continue . . .
> IDL> print, err_result
>
> IDL> print, exit_status
> 0

Strange... the only other idea I have at the moment is to try this code:

c This is a test code
write(6,*) "--- Hello World ---"
stop
end

Just in case the Windows messes up the stdout...

Other than that, I don't know.

A workaround would be to redirect your output in Windows to a text file:
spawn, 'test.exe > myOutput.txt', result, errResult
and then check the contents of myOutput.txt.

Good luck!

Cheers,
Helder
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Odd behavior with NaNs
Next Topic: Mapping issue with mapcontinents, /usa and /canada ......

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

Current Time: Wed Oct 08 13:57:01 PDT 2025

Total time taken to generate the page: 0.00181 seconds