Ignore:
Timestamp:
Sep 15, 2001, 11:47:44 AM (24 years ago)
Author:
sandervl
Message:

restored old version

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 $ */
    21/*
    32 * CRTDLL spawn functions
    4  *
     3 * 
    54 * Copyright 1996,1998 Marcus Meissner
    65 * Copyright 1996 Jukka Iivonen
     
    2524 * Implementation Notes:
    2625 * MT Safe - But only because of missing functionality.
    27  *
     26 * 
    2827 * After translating input arguments into the required format for
    2928 * CreateProcess(), the internal function __CRTDLL__spawn() is
     
    8382
    8483  if (!CreateProcessA(exe, args, NULL, NULL, TRUE,
    85               flags == _P_DETACH ? DETACHED_PROCESS : 0,
    86               env, NULL, &si, &pi))
     84                      flags == _P_DETACH ? DETACHED_PROCESS : 0,
     85                      env, NULL, &si, &pi))
    8786  {
    8887    __CRTDLL__set_errno(GetLastError());
     
    158157{
    159158  // return (_spawnve(i, s1, s2, s3));
    160 
     159 
    161160  LPSTR args = __CRTDLL__argvtos(argv,' ');
    162161  LPSTR envs = __CRTDLL__argvtos(envv,0);
     
    187186{
    188187  // return system(string);
    189 
     188 
    190189    /* FIXME: should probably launch cmd interpreter in COMSPEC */
    191190    return __CRTDLL__spawn(_P_WAIT, NULL, x, NULL);
Note: See TracChangeset for help on using the changeset viewer.