diff options
Diffstat (limited to 'src/util/exec.h')
| -rw-r--r-- | src/util/exec.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/util/exec.h b/src/util/exec.h new file mode 100644 index 0000000..4572a43 --- /dev/null +++ b/src/util/exec.h @@ -0,0 +1,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 |
