From mboxrd@z Thu Jan 1 00:00:00 1970 From: Clarence Dang Subject: Re: dosemu Date: Sun, 4 Sep 2005 12:51:29 +1000 Message-ID: <200509041251.31195.clarencedang@yahoo.com> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline Sender: linux-msdos-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: Andrzej Kaczmarczyk Cc: linux-msdos@vger.kernel.org On Friday 02 September 2005 20:51, Andrzej Kaczmarczyk wrote: > try this: > dosemu -E "programname.bat" > > mind that you must have that file accessible so either put into your root > directory on "c:" > or add a valid path into the autoexec.bat > > secondary add into your bat the exitemu line like this: > cd programdir > programname.exe > exitemu > > that way you'll exite dosemu rightafter execution and you won't have to > kill it Alternatively, put "unix -e" at the end of your autoexec.bat Then you can just type: dosemu "programdir\programname.exe" It even handles Linux paths. "dosemu -E" is the same but doesn't exit afterwards. > what WOULD be nice (Stas do you hear me?) would be to add parameters to > exitemu, so a linux process could evaluate succes or failure of the dos > program execution. Difficult.