3 ms·
Programs called from the shell for integration are not all consistent and that's another reason why shell programmins is not easy. Exit status are inconsistent
by dolmen 4y ago
Programs called from the shell for integration are not all consistent and that's another reason why shell programmins is not easy.
Exit status are inconsistent.
Stderr output: is it a warning (ignorable) or an error?
- t43562 4y agoStderr output does not indicate that a program has failed. It's just a communication channel to the user that's not affected when you pipe or redirect stdout. So useful for programs where to want to make sure that data doesn't get mixed up with messages to the user. exit codes are the only true way to tell if some process failed and programs should set them properly.