[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to redirect stdout & stderr from a Windows app?
- Subject: Re: How to redirect stdout & stderr from a Windows app?
- From: davidf(at)dfanning.com (David Fanning)
- Date: Tue, 23 Jan 2001 16:13:16 -0700
- Newsgroups: comp.lang.idl-pvwave
- Organization: Fanning Software Consulting
- References: <23JAN01.22324558@feda34.fed.ornl.gov>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:23143
Dave Greenwood (greenwoodde@ornl.gov) writes:
>
> I have a windows app (NT 4, IDL 5.3) that apparently screws up occasionally.
> That is, it doesn't respond to certain buttons, sliders, etc. Of course it
> hasn't failed any of the times I've tried it in the IDE. Is there any way
> to redirect stdout and stderr so I can capture IDL messages, PRINT output,
> etc. in a file? I've tried invoking runtime IDL from a DOS window with ">
> foo.bar" but I never get any output in foo.bar although my app starts. And,
> of course, I can't close or reopen units -1 or -2.
How about writing the system error message to a file
in one of those Catch error handlers I know you have
in that file! :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155