Ignore:
Timestamp:
Sep 5, 2001, 2:14:25 PM (24 years ago)
Author:
bird
Message:

Added $Id:$ keyword.

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 $ */
    12/*
    23 * CRTDLL spawn functions
    3  * 
     4 *
    45 * Copyright 1996,1998 Marcus Meissner
    56 * Copyright 1996 Jukka Iivonen
     
    2425 * Implementation Notes:
    2526 * MT Safe - But only because of missing functionality.
    26  * 
     27 *
    2728 * After translating input arguments into the required format for
    2829 * CreateProcess(), the internal function __CRTDLL__spawn() is
     
    8283
    8384  if (!CreateProcessA(exe, args, NULL, NULL, TRUE,
    84                       flags == _P_DETACH ? DETACHED_PROCESS : 0,
    85                       env, NULL, &si, &pi))
     85              flags == _P_DETACH ? DETACHED_PROCESS : 0,
     86              env, NULL, &si, &pi))
    8687  {
    8788    __CRTDLL__set_errno(GetLastError());
     
    157158{
    158159  // return (_spawnve(i, s1, s2, s3));
    159  
     160
    160161  LPSTR args = __CRTDLL__argvtos(argv,' ');
    161162  LPSTR envs = __CRTDLL__argvtos(envv,0);
     
    186187{
    187188  // return system(string);
    188  
     189
    189190    /* FIXME: should probably launch cmd interpreter in COMSPEC */
    190191    return __CRTDLL__spawn(_P_WAIT, NULL, x, NULL);
Note: See TracChangeset for help on using the changeset viewer.