Changed bg PID to actual exit code