1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#ifndef _SK_UTIL_EXEC_H #define _SK_UTIL_EXEC_H #if HAVE_STDBOOL_H #include <stdbool.h> #endif #include "envp.h" #include <sys/types.h> /** * exec_subcmd: * ... * * @param * @return ... */ pid_t exec_subcmd( char *const argv[], int stdin, int stdout, int stderr, bool close_fds, const char *cwd, envp_t *const envp); #endif