delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/09/08:11:35

Newsgroups: comp.os.msdos.djgpp
From: rd5718 AT irix DOT bris DOT ac DOT uk (Rich Dawe)
Subject: Re: Newbie question: program does nothing under bash
X-Nntp-Posting-Host: irix.bris.ac.uk
Message-ID: <F6vzun.E44@fsa.bris.ac.uk>
Lines: 23
Sender: usenet AT fsa DOT bris DOT ac DOT uk (Usenet)
Organization: University of Bristol, England
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
References: <sFhndAA3Cwv2EwcE AT tqbase DOT demon DOT co DOT uk>
Date: Tue, 9 Feb 1999 12:25:33 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

David Allsopp (daa AT tqSPAMbase DOT demon DOT co DOT uk) wrote:
: Fine, compiled first time even :-).  However, it only runs under an MS-
: DOS command.com window (W95).
: 
: If I try to run the program from bash, nothing
: happens.  I made the simple change of opening a file and writing a
: string out to that, in case there are stdout/stderr problems, but the
: program just seems to do nothing: no file is created.  Again, if I run
: this from command.com, the file is created OK.

	Try posting the source code, describing your DJGPP set-up, etc.
It's almost impossible to tell what is wrong with no information about the
program.

	IIRC there may be problems with using bash as your shell rather
than command.com, i.e. if you set "SHELL=<blah>" in autoexec.bat. The
solution to this is to run bash from a command.com shell.

-- 
==============================================================================
         Rich Dawe - 4th-year MSci Physicist @ Bristol University, UK
           richdawe AT bigfoot DOT com, http://www.bigfoot.com/~richdawe/
==============================================================================

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019