Better subprocess error handling for multi image wrapper.