The system() function is used in several places to execute external commands. However, many of these are unnecessary. Rather than forking off a child process which runs a shell, which execs a program, some of the same ends can be accomplished by a system call from the original process. The attached patch converts several system() invocations to equivalent system calls.
Patch to convert system() to system call
Last edit: Jerry James 2013-07-17