feat: unique directory for pipelines
Also, start using fork/chdir/exec idiom instead of posix_spawn, because as we all know: posix_spawn is stupid as a system call: https://lwn.net/Articles/360556/
This commit is contained in:
@ -29,6 +29,7 @@ typedef struct {
|
||||
bool use_colors;
|
||||
optional_str log_file;
|
||||
optional_str pipeline_log_dir;
|
||||
optional_str pipeline_cwd;
|
||||
optional_strlist environment_vars;
|
||||
} cli_options;
|
||||
|
||||
|
@ -4,6 +4,7 @@
|
||||
|
||||
void executor(void* pipeline_event);
|
||||
void set_logdir(const char* logdir);
|
||||
void set_working_directory(const char* cwd);
|
||||
void set_shared_environment(const strlist_node* root);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user