3 ms·
Lots of functions to start another process start a shell instead and is a command line to be executed, e.g. system or popen. The convenience in that case is tha
by ygra 12y ago
Lots of functions to start another process start a shell instead and is a command line to be executed, e.g. system or popen. The convenience in that case is that you don't need your own handling of $PATH or wildcards or argument parsing. It's pretty standard on UNIXoid systems.
- asveikau 12y ago> The convenience in that case is that you don't need your own handling of $PATH You don't with execvp or execlp either. > or wildcards or argument parsing. IMO this is of dubious value from, say, a C program. Why "parse" the args? Just generate a list...