1 /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
3 #include <msvcrt/process.h>
4 #include <msvcrt/stdlib.h>
10 int _execl(const char* szPath, const char* szArgv0, ...)
18 a = va_arg(l,const char *);
19 szArg[i++] = (char *)a;
20 } while ( a != NULL && i < 100 );
22 return _spawnve(P_OVERLAY, szPath, szArg, _environ);