exec(bash => (-c => 'com1 | com2; exit $PIPESTATUS[0]'));