From 51b1d83a6dd58452418281c887844472411f6540 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Fri, 2 May 2003 11:02:05 +0000 Subject: [PATCH] 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 --- src/shell/shell_batch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell/shell_batch.cpp b/src/shell/shell_batch.cpp index 304f5987..2c256483 100644 --- a/src/shell/shell_batch.cpp +++ b/src/shell/shell_batch.cpp @@ -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"); }