version 1.5, 2007/06/08 18:00:04
|
version 1.6, 2007/06/15 17:40:06
|
|
|
#include <stdio.h> | #include <stdio.h> |
#include <grp.h> | #include <grp.h> |
#include "Defines.h" | #include "Defines.h" |
|
#include "Globals.h" |
#include "Fatal.h" | #include "Fatal.h" |
#include "Path.h" | #include "Path.h" |
#include "Log.h" | #include "Log.h" |
|
|
char sockStr[EXECUTOR_BUFFER_SIZE]; | char sockStr[EXECUTOR_BUFFER_SIZE]; |
char** execArgv; | char** execArgv; |
| |
|
globals.isChildProcess = 1; |
|
|
/* Build argument list, adding "--executor-socket <sock>" option if | /* Build argument list, adding "--executor-socket <sock>" option if |
* sock non-negative. | * sock non-negative. |
*/ | */ |
|
|
| |
/* If we are still here, the exec failed. */ | /* If we are still here, the exec failed. */ |
Fatal(FL, "failed to exec %s", path); | Fatal(FL, "failed to exec %s", path); |
|
|
exit(0); |
|
} | } |