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

Home » Public Forums » archive » Help with SPAWN
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: Help with Spawn [message #61482 is a reply to message #42260] Fri, 18 July 2008 07:17 Go to previous messageGo to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On Jul 18, 8:48 am, "Jeff N." <jeffnettles4...@gmail.com> wrote:
> On Jul 18, 7:23 am, alex...@gmail.com wrote:
>
>> Hello everybody. My question is simple, yet I haven't found a
>> satisfying answer in the various guides.
>
>> I'm using spawn to call for an executable file under the Windows OS,
>> it oppens a command window and executes there. The problem is, very
>> quickly I get an error and the entire command shell closes
>> momentarily. I'd want  to be able to see the error it presents before
>> closing the shell, or just leave it open.
>
>> Is this possible? Is there any other way around it?
>
>> Thanks a lot for any help, Alex
>
> Another trick i do a lot is just print out the command that you're
> going to spawn using a print statement, then open up your own command
> window and paste in that command.  The command shell isn't going to
> close when you do that, and I often find it's easier to fix whatever
> mistakes i've made with the command i'm trying to issue in the actual
> command window then go back to my IDL program and make sure it spawns
> the fixed command.
>
> Jeff

How about using the LOG_OUTPUT keyword? Simple is good...
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: plot,lat,lon
Next Topic: Re: plot,lat,lon

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

Current Time: Sun Oct 12 17:08:53 PDT 2025

Total time taken to generate the page: 0.37223 seconds