Explain the Spawnlp Functions Used in the NetWare
Spawnlp(flags, execName, arg0,...)
The Spawnlp function is used to load a NetWare executable file (NLM) specified by execName into memory and start execution. Optional flags may be passed to Spawnlp function to control execution of the spawned NLM. P_NOWAIT clears that the executable is to be loaded and executed asynchronously to the calling program. Optional arguments (argo,...) may be passed (variable number) to the invoked program. The first argument is the name of the executable and the end of arguments should be specified with a NULL All arguments are concatenated with white space separating the parameters and can be obtained from standard argc and argv mechanisms or with the function call getcmd( ).