Double Pipe process invocation. More...
#include <unistd.h>#include <stdio.h>Go to the source code of this file.
Functions | |
| pid_t | dpopen (const char *command, FILE **in, FILE **out) |
| FIXME Fast process invocation. | |
Double Pipe process invocation.
| pid_t dpopen | ( | const char * | command, | |
| FILE ** | in, | |||
| FILE ** | out | |||
| ) |
FIXME Fast process invocation.
FIXME mention there is no pipe close, we rely on SIGPIPE to kill the child fast_popen opens a process for execution, providing its output on a stream, just like the standard popen. However, fast_popen does not invoke the shell the interpret the command, which can be very time consuming. Thus, the command must be given as a full path, and may not include quotes, variables, or other features of the shell.
| command | The command string to execute. |
1.7.1