diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-09-07 13:06:32 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-09-07 13:06:32 +0200 |
commit | 8bed8a0e1dbaa5df29a386f13768c5df84c2cceb (patch) | |
tree | ac0663d41a471e7d3e325b1b4fa7eef01bcc51f7 /src/process.h | |
parent | doc: fix a typo (diff) | |
download | cimple-8bed8a0e1dbaa5df29a386f13768c5df84c2cceb.tar.gz cimple-8bed8a0e1dbaa5df29a386f13768c5df84c2cceb.zip |
ci: set some environment variables
Diffstat (limited to '')
-rw-r--r-- | src/process.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/process.h b/src/process.h index b378ad1..bc20748 100644 --- a/src/process.h +++ b/src/process.h @@ -10,13 +10,13 @@ struct proc_output { }; /* The exit code is only valid if the functions returns a non-negative number. */ -int proc_spawn(const char *args[], int *ec); +int proc_spawn(const char *args[], const char *envp[], int *ec); /* Similarly, the contents of the proc_output structure is only valid if the function returns a * non-negative number. * * In that case, you'll need to free the output. */ -int proc_capture(const char *args[], struct proc_output *result); +int proc_capture(const char *args[], const char *envp[], struct proc_output *result); void proc_output_init(struct proc_output *); void proc_output_free(const struct proc_output *); |