Functions HI-TECH C SPAWNL
SPAWNL, SPAWNV, SPAWNVE
int spawnl(char * n, char * argv0, ...); int spawnv(cahr * n, char ** v) int spawnve(char * n, char ** v, char ** e)
These functions will load and execute a sub-program, named by the argument n. The calling conventions are similar to the functions execl() and execv(), the difference being that the spawn functions return to the calling program after termination of the sub-program, while the exec functions return only if the program could not be executed. Spawnve() takes an environment list in the same format as the argument list which will be supplied to the executed program as its environment.