[Gambas-user] Coming back to gb.test

Benoît Minisini g4mba5 at gmail.com
Thu May 7 13:17:40 CEST 2020


Le 07/05/2020 à 13:08, Christof Thalhofer a écrit :
> Am 07.05.20 um 11:16 schrieb Benoît Minisini:
>> Le 07/05/2020 à 10:29, Christof Thalhofer a écrit :
>>> gbx3 -T "TestSummary" ./comp/src/gb.test | echo $?
>>
>> What do you think that shell command does ???
> 
> It prints the exit code of
> gbx3 -T "TestSummary" ./comp/src/gb.test

It doesn't. It pipes the standard output of "gbx3 -T "TestSummary" 
./comp/src/gb.test" to the echo command, that returns zero. The return 
code of gbx3 is lost.

-- 
Benoît Minisini


More information about the User mailing list