in reply to Re^2: Returning status to parent from pipein thread Returning status to parent from pipe
exec(bash => (-c => 'com1 | com2; exit $PIPESTATUS[0]')); [download]