mirror of
https://github.com/janet-lang/janet
synced 2025-11-10 04:23:02 +00:00
Add os/proc-close to close all pipes associated with a subprocess.
This will not leak handles until the GC runs in most use cases.
This commit is contained in:
@@ -146,7 +146,7 @@ extern const JanetAbstractType janet_address_type;
|
||||
#ifdef JANET_EV
|
||||
void janet_lib_ev(JanetTable *env);
|
||||
void janet_ev_mark(void);
|
||||
int janet_make_pipe(JanetHandle handles[2], int keep_write_side);
|
||||
int janet_make_pipe(JanetHandle handles[2], int mode);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user