From: Eric Wong Date: 2018-10-30T01:36:42+00:00 Subject: [ruby-core:89626] Re: [Ruby trunk Bug#14867] Process.wait can wait for MJIT compiler process > *sigh* reverted r65434 > None of these errors seem related, even > http://mswinci.japaneast.cloudapp.azure.com/vc12-x64/ruby-trunk/log/20181030T003541Z.fail.html.gz Trying r65437 ``` diff --git a/9ee245cba9 b/13af9d182c index 9ee245cba9..13af9d182c 100644 --- a/9ee245cba9 +++ b/13af9d182c @@ -4294,7 +4294,9 @@ rb_spawn_process(struct rb_execarg *eargp, char *errmsg, size_t errmsg_buflen) rb_last_status_set((status & 0xff) << 8, 0); pid = 1; /* dummy */ # endif - + if (eargp->waitpid_state) { + eargp->waitpid_state->pid = pid; + } rb_execarg_run_options(&sarg, NULL, errmsg, errmsg_buflen); #endif return pid; ``` Unsubscribe: