1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-06 18:43:04 +00:00

Add :a option to os/execute, and allow redirecting stdio.

This should help cover a number of common cases for
use of subprocesses. This should also eventually work well
with the ev branch via
This commit is contained in:
Calvin Rose
2020-09-01 20:06:35 -05:00
parent 6273e56886
commit e7fca0051e
3 changed files with 150 additions and 22 deletions

View File

@@ -76,7 +76,6 @@ int32_t janet_tablen(int32_t n);
void safe_memcpy(void *dest, const void *src, size_t len);
void janet_buffer_push_types(JanetBuffer *buffer, int types);
const JanetKV *janet_dict_find(const JanetKV *buckets, int32_t cap, Janet key);
Janet janet_dict_get(const JanetKV *buckets, int32_t cap, Janet key);
void janet_memempty(JanetKV *mem, int32_t count);
void *janet_memalloc_empty(int32_t count);
JanetTable *janet_get_core_table(const char *name);