diff options
Diffstat (limited to 'src/runner.c')
-rw-r--r-- | src/runner.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/runner.c b/src/runner.c index ddf20d2..628ac9a 100644 --- a/src/runner.c +++ b/src/runner.c @@ -1,3 +1,7 @@ +/* + * Compile command : + * gcc -o runner -W -Wall -g --std=c99 runner.c + */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> @@ -117,7 +121,7 @@ int execute(Runner *r, char *args) } dup2(fd, STDOUT_FILENO); - ret = execl("/home/detlev/src/c-portage/src/test.py", "test.py", "app-portage/kuroo4-4.2", "app-portage/kuroo4-4.3", NULL); + ret = execl("./test.py", "test.py", "app-portage/kuroo4-4.2", "app-portage/kuroo4-4.3", NULL); printf("execl: (%d) %s\n", errno, strerror(errno)); return ret; } |