Date: Sat, 25 Oct 1997 11:49:55 +0530 (IST) From: "Mahadevan R." To: Hans Ecke Cc: Eli Zaretskii , djgpp AT delorie DOT com Subject: Re: Running programs from inside bash In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Fri, 24 Oct 1997, Hans Ecke wrote: > Some days ago I posted a question about errors that occur while trying to > run non-DJGPP-programs from inside bash. > > Yes, DJGPP-programs run OK > > I also noticed, that I can call any program from inside bash like this : > c:>c:/command.com /c nc.exe > But it should be a blame, that bash is not able to load&execute simple dos > executables! This could be because these dos executables expect an argv[0] in the form "X:\PATH\FILE.EXE". For e.g., if a program has a configuration file that is meant to be in the same directory as the executable, then the path of the config file will be created using argv[0]. If this is indeed the cause, then you could look around the bash documentation for a solution. Or perhaps modify the bash sources. HTH, Mahesh (Mahadevan R.),