Given a bash command line:
./getRawStream.jar | ./processRaw.py > product.csv 2> product.stderr
Is it possible for ./processRaw.py to find the return value of ./getRawStream.jar and abort the rest of the chain? I am trying to avoid using python's subprocess module at all costs because the final output of ./getRawStream can be on the order of 10s or 100's of gigabytes in size and want to cut down how many places the stream goes into memory before being filtered down by processRaw.py