currently, a fork doesn't work on all architectures => disable this feature in our examples

This commit is contained in:
Stefan Lankes 2011-04-13 11:04:46 -07:00
parent eeb49cdb90
commit 9fb28ccfd9

View file

@ -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};