int giCommandSpace = 0;\r
\r
// ==== CODE ====\r
-int main(int argc, char *argv[], char *envp[])\r
+int main(int argc, char *argv[], char **envp)\r
{\r
char *sCommandStr;\r
char *saArgs[32] = {0};\r
// Create new process\r
pid = clone(CLONE_VM, 0);\r
// Start Task\r
- if(pid == 0)\r
+ if(pid == 0) {\r
execve(sTmpBuffer, Args, gasEnvironment);\r
+ printf("Execve returned, ... oops\n");\r
+ exit(-1);\r
+ }\r
if(pid <= 0) {\r
printf("Unable to create process: `%s'\n", sTmpBuffer); // Error Message\r
}\r