shedali
3/13/2017 - 12:57 AM

stdout to file and return process exit

stdout to file and return process exit

npm test 2>&1 | tee -a file.txt ; ( exit ${PIPESTATUS} )