*** empty log message ***

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
1999-11-03 05:54:29 +00:00
parent d21895aec4
commit 9ac6ff7b80
2 changed files with 10 additions and 4 deletions

View File

@@ -160,7 +160,7 @@ bool wxShell(
SData.PgmName = zShell;
sInputs = "/C " + rCommand;
SData.PgmInputs = NULL; //(BYTE*)sInputs.c_str();
SData.PgmInputs = (BYTE*)sInputs.c_str();
SData.TermQ = 0;
SData.Environment = 0;
SData.InheritOpt = SSF_INHERTOPT_SHELL;
@@ -177,7 +177,7 @@ bool wxShell(
SData.ObjectBuffLen = (ULONG)sizeof(achObjBuf);
rc = ::DosStartSession(&SData, &ulSessID, &vPid);
if (rc == 0)
if (rc == 0 || rc == 457) // NO_ERROR or SMG_START_IN_BACKGROUND
{
PTIB ptib;
PPIB ppib;