diff options
| author | Toby Goodwin <LibreSoftwareDesign@gmail.com> | 2012-10-01 20:46:40 +0100 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:24 +0100 |
| commit | c8a77b86b4f8c91314222a8e12e6e37cf182ee10 (patch) | |
| tree | 770041514630af2c076e5115b3543b7f5ced1d24 /chldign.c | |
| parent | 27c900d6ae9cd0dcf4bc97bc9b8c1882e40ccfa8 (diff) | |
initial commit
Diffstat (limited to 'chldign.c')
| -rw-r--r-- | chldign.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/chldign.c b/chldign.c new file mode 100644 index 0000000..e4e64a6 --- /dev/null +++ b/chldign.c @@ -0,0 +1,9 @@ +#include <stdlib.h> +#include <unistd.h> +#include <signal.h> + +int main(int argc, char **argv) { + int i; + signal(SIGCHLD, SIG_IGN); + execvp(argv[1], &argv[1]); +} |