exit
This commit is contained in:
parent
d742f3f1f3
commit
2760ab1d51
@ -49,12 +49,9 @@ int main (){
|
||||
break;
|
||||
else
|
||||
if (fork() == 0){
|
||||
ptintf("/n");
|
||||
printf("/n");
|
||||
execvp(argv[0], argv);
|
||||
}
|
||||
else{
|
||||
wait(NULL);
|
||||
printf("koniec komendy");
|
||||
exit(0);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user