Make launch_program() return status codes from an enumeration