diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2023-11-20 17:07:11 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2023-11-20 17:07:11 -0500 |
commit | 43bcd36bb31c1ab117b54f21746b119db2448449 (patch) | |
tree | 12e69ecb6c84a8b99ae8df3bbf65642152d21bcc /include/system.h | |
parent | 8b3f862c59f7866f67f1da349efd5e3d931e1eae (diff) | |
download | stasis-43bcd36bb31c1ab117b54f21746b119db2448449.tar.gz |
Use TMPDIR, and fail when script cannot be executed within that filesystem
Diffstat (limited to 'include/system.h')
-rw-r--r-- | include/system.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/system.h b/include/system.h index d744726..32c7c79 100644 --- a/include/system.h +++ b/include/system.h @@ -24,6 +24,6 @@ struct Process { int shell(struct Process *proc, char *args[]); int shell2(struct Process *proc, char *args); int shell_safe(struct Process *proc, char *args[]); -char *shell_output(const char *command); +char *shell_output(const char *command, int *status); #endif //OMC_SYSTEM_H |