I can reproduce this behavior on a simple Python script when the set -o pipefail command is set.
To clarify this further I have asked about this on StackOverflow:
Getting exit code 141 when reading from stdin with a Python script with “set -o pipefail” set.
I can reproduce this behavior on a simple Python script when the
set -o pipefailcommand is set.To clarify this further I have asked about this on StackOverflow:
Getting exit code 141 when reading from stdin with a Python script with “set -o pipefail” set.