*** 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

@ -14,15 +14,21 @@
#define BSD_SELECT // use Berkley Sockets select #define BSD_SELECT // use Berkley Sockets select
#include <assert.h> #include <assert.h>
#include <sys\ioctl.h>
#include <sys\types.h> #include <sys\types.h>
#include <sys\socket.h>
#include <utils.h> #include <utils.h>
#include <sys\time.h> #include <sys\time.h>
#include <in.h> #include <in.h>
#include <netdb.h> #include <netdb.h>
#include <nerrno.h> #include <nerrno.h>
#if defined(__VISAGECPP__) && __IBMCPP__ < 400
#include <socket.h>
#include <ioctl.h>
#include <select.h>
#else
#include <sys\socket.h>
#include <sys\ioctl.h>
#include <sys\select.h> #include <sys\select.h>
#endif
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>

View File

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