From: Neil Goldberg Newsgroups: comp.os.msdos.djgpp Subject: Re: Stderr. Date: Tue, 10 Aug 1999 09:59:17 +0100 Organization: The MITRE Corporation Lines: 27 Message-ID: <37AFE9E5.6AF1@mitre.org> References: <199908061132 DOT OAA29592 AT ankara DOT Foo DOT COM> NNTP-Posting-Host: mm58842-pc.mitre.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: top.mitre.org 934293428 7911 128.29.96.60 (10 Aug 1999 13:57:08 GMT) X-Complaints-To: usenet AT news DOT mitre DOT org NNTP-Posting-Date: 10 Aug 1999 13:57:08 GMT X-Mailer: Mozilla 3.04 (WinNT; I) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com S. M. Halloran wrote: > > On 5 Aug 99, Burger Rule was found to have commented thusly: > > > Hi! > > > > When I choose RUN from RHIDE, it opens a window with the title "contens of > > stderr from ascii.exe " ascii is my program name written in C++(ascii.cpp) > > In the window it states : "bad command or file name". > > > > I look around and noticed that I can disable this STDERR thing in Options > > -> Enviroment -> Preferences by unchecking it. > > > > Now it doesn't gives this window anymore, but when going to the user > > screen I get the same error -"bad command or file name". > > That's because you weren't in the path of ascii.exe, not because stderr was being redirected. Stderr should always be redirected when working in RHIDE (there's no reason why not). > > When I manually run my program from the Dos Prompt, it works perfect. Did you cd to the program's location when you exited RHIDE? Before starting RHIDE, you should always cd to the path of where your compiled executables will be unless you have set up a project. This will fix the problem. moogla