currently, a fork doesn't work on all architectures => disable this feature in our examples
This commit is contained in:
parent
eeb49cdb90
commit
9fb28ccfd9
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ int main(int argc, char** argv)
|
|||
|
||||
printf("Create child process...\n");
|
||||
|
||||
pid = fork();
|
||||
pid = 42; //fork();
|
||||
if (pid == 0) { // child
|
||||
char* newargs[] = {"/bin/hello", "one", "two", "three", NULL};
|
||||
char* newenv[] = {"USER=root", "PATH=/bin:/sbin:/usr/bin", "PWD=/", "TEMP=/tmp", NULL};
|
||||
|
|
Loading…
Add table
Reference in a new issue