wait
This commit is contained in:
parent
84b02623a9
commit
a34369890b
@ -52,6 +52,8 @@ int main (){
|
|||||||
printf("\n");
|
printf("\n");
|
||||||
execvp(argv[0], argv);
|
execvp(argv[0], argv);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
wait(NULL);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user