Changeset 3162 for trunk/src/kmk/kmkbuiltin
- Timestamp:
- Mar 20, 2018, 4:13:12 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/kmkbuiltin/redirect.c
r3161 r3162 979 979 StartupInfo.cb = sizeof(StartupInfo); 980 980 GetStartupInfoA(&StartupInfo); 981 StartupInfo.lpReserved2 = 0; /* No CRT file handle + descriptor info possible, sorry. */ 982 StartupInfo.cbReserved2 = 0; 981 983 StartupInfo.dwFlags &= ~STARTF_USESTDHANDLES; 982 984 … … 1034 1036 /* 1035 1037 * Start the process in suspended animation so we can inject handles. 1036 *1037 * We clear the reserved 2 pointer + size to avoid passing the wrong1038 * filehandle info to the child. We may later want to generate this.1039 1038 */ 1040 StartupInfo.cbReserved2 = 0;1041 StartupInfo.lpReserved2 = 0;1042 1043 1039 if (CreateProcessA(pszExecutable, pszCmdLine, NULL /*pProcAttrs*/, NULL /*pThreadAttrs*/, 1044 1040 FALSE /*fInheritHandles*/, CREATE_SUSPENDED, pszzEnv, pszCwd, &StartupInfo, &ProcInfo))
Note:
See TracChangeset
for help on using the changeset viewer.