Tags: bitfield/script
Tags
Update First(n int) to read no more data than necessary (#199) First(N) now closes its output after it has read N lines, terminating the pipe without consuming unnecessary further input (apart from the 4KiB scanner buffer). Co-authored-by: John Arundel <[email protected]>
Don't close pipe in SetError (#120) Fixes #117. * The pipe shouldn't be closed on SetError function * Fix TestExecRunsGoWithNoArgsAndGetsUsageMessagePlusErrorExitStatus2 test. It was not checking that exit status is two * Update test name to match what is really doing * Fix example for getting exit status from exec * Add new example for exit status not zero on Exec
PreviousNext