This commit is contained in:
Jakub Adamski 2019-01-10 14:09:37 +01:00
parent d742f3f1f3
commit 2760ab1d51

View File

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