5 ms·
$LASTERRORCODE is not the same as $? It works only on native executable errors. Some executables like git also write logs on error stream (this is a problem on
by majkinetor 4y ago
$LASTERRORCODE is not the same as $?
It works only on native executable errors. Some executables like git also write logs on error stream (this is a problem on linux too).