Cache runargs and wait for onenter