Mihai Barbulescu <[email protected]> writes:

> Salut,
>
> $ ./mini-shell.exe
>> ls
> _test  Makefile.checker  mini-shell.exe  README.checker  run_all.sh
>> lsa
>> pwd
> /home/Mihai/tema1so/tema1-checker-win
>> cta main.c
>> ls
> _test  Makefile.checker  mini-shell.exe  README.checker  run_all.sh
>> exit
> Execution failed for 'lsa'
> Execution failed for 'cta'
>
> Dupa cum puteti observa, textul cu execution failed, pe care il
> redirectez la stderr, e afisat abia la final. Este normal? Daca nu,
> cum poate fi combatut? Multumesc anticipat pentru raspuns.

Cu fflush(stderr) merge?
_______________________________________________
http://ocw.cs.pub.ro/courses/so/info/lista-discutii

Raspunde prin e-mail lui