From 12efdc925f1ba8ba0616736b5b5351aa82667ff9 Mon Sep 17 00:00:00 2001 From: comex Date: Wed, 28 Jan 2015 01:16:49 -0500 Subject: sorta --- test/test-posixspawn-hook.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/test-posixspawn-hook.c (limited to 'test') diff --git a/test/test-posixspawn-hook.c b/test/test-posixspawn-hook.c new file mode 100644 index 0000000..409f5fe --- /dev/null +++ b/test/test-posixspawn-hook.c @@ -0,0 +1,9 @@ +#include +#include +#include +int main(__attribute__((unused)) int argc, char **argv) { + pid_t pid = 0; + printf("doing it:\n"); + int ret = posix_spawn(&pid, argv[1], NULL, NULL, argv + 1, NULL); + printf("==> %d pid=%d\n", ret, pid); +} -- cgit v1.2.3