Changeset 6645 for trunk/src/crtdll/spawn.c
- Timestamp:
- Sep 5, 2001, 2:14:25 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/crtdll/spawn.c
r4672 r6645 1 /* $Id: spawn.c,v 1.3 2001-09-05 12:14:25 bird Exp $ */ 1 2 /* 2 3 * CRTDLL spawn functions 3 * 4 * 4 5 * Copyright 1996,1998 Marcus Meissner 5 6 * Copyright 1996 Jukka Iivonen … … 24 25 * Implementation Notes: 25 26 * MT Safe - But only because of missing functionality. 26 * 27 * 27 28 * After translating input arguments into the required format for 28 29 * CreateProcess(), the internal function __CRTDLL__spawn() is … … 82 83 83 84 if (!CreateProcessA(exe, args, NULL, NULL, TRUE, 84 85 85 flags == _P_DETACH ? DETACHED_PROCESS : 0, 86 env, NULL, &si, &pi)) 86 87 { 87 88 __CRTDLL__set_errno(GetLastError()); … … 157 158 { 158 159 // return (_spawnve(i, s1, s2, s3)); 159 160 160 161 LPSTR args = __CRTDLL__argvtos(argv,' '); 161 162 LPSTR envs = __CRTDLL__argvtos(envv,0); … … 186 187 { 187 188 // return system(string); 188 189 189 190 /* FIXME: should probably launch cmd interpreter in COMSPEC */ 190 191 return __CRTDLL__spawn(_P_WAIT, NULL, x, NULL);
Note:
See TracChangeset
for help on using the changeset viewer.