[so] [Tema1][Windows] Stderr e afisat in cygwin dupa exit

Adrian Sendroiu molecula2788 at gmail.com
Tue Mar 19 23:55:09 EET 2013


Mihai Barbulescu <b12mihai at gmail.com> 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?


More information about the so mailing list