On Thu, 14 Nov 2002, Alastair Hole wrote: > I am trying to run a DOS program non-interactively, directly from the > linux command line (eventually it needs to be called from a PHP script > to provide a web interface to the program, but that's another story): > > ./dosemu -home -D-a -I 2>/dev/null 'keystroke > "\rD:\\fu\\bar.exe\rexitemu\r"'
./dosemu -dumb -home -quiet -input '\rD:\\fu\\bar.exe\rexitemu\r' > foo gives you stdout in foo, if the DOS prog uses stdout only (no direct video tricks). Bart - To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html