summaryrefslogtreecommitdiff
path: root/src/util/exec.h
blob: 4572a43b0a993f01ff123a0bd57220500913d83b (plain)
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