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