1
0
Fork 0

added support for the don't inheritance flag and changed the psp routines to use this flag

Opening batfiles with the don't inheritance flag


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@982
This commit is contained in:
Peter Veenstra 2003-05-02 11:02:05 +00:00
parent cb364036b2
commit 51b1d83a6d

View file

@ -27,7 +27,7 @@ BatchFile::BatchFile(DOS_Shell * host,char * name, char * cmd_line) {
echo=host->echo;
shell=host;
cmd=new CommandLine(0,cmd_line);
if (!DOS_OpenFile(name,0,&file_handle)) {
if (!DOS_OpenFile(name,128,&file_handle)) {
//TODO Come up with something better
E_Exit("SHELL:Can't open BatchFile");
}