mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Tweaked Process::Status.wait
* revert `rb_last_status_set` * renamed the new function as `rb_process_status_new` * `rb_process_status_new` always freezes the return value * marked `Process::Status.wait` as EXPERIMENTAL, as it has not been discussed totally yet.
This commit is contained in:
parent
4f907a80f0
commit
b419f90a8b
3 changed files with 27 additions and 19 deletions
|
@ -28,7 +28,7 @@
|
|||
RBIMPL_SYMBOL_EXPORT_BEGIN()
|
||||
|
||||
/* process.c */
|
||||
void rb_last_status_set(rb_pid_t pid, int status, int error);
|
||||
void rb_last_status_set(int status, rb_pid_t pid);
|
||||
VALUE rb_last_status_get(void);
|
||||
int rb_proc_exec(const char*);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue