diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-05-16 15:55:40 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-05-16 19:31:47 +0200 |
commit | ce13b70c5a0fae3788dc4d551fff24dd5c001649 (patch) | |
tree | f5b5960a32a9f5bcc127100daeeba1e3f62bd79e /src/calcurse.h | |
parent | 2951cf832034053d02fee97cc8e4a1f5748578c8 (diff) | |
download | calcurse-ce13b70c5a0fae3788dc4d551fff24dd5c001649.zip |
Allow passing additional parameters to shell_exec()
This allows for specifying multiple command line parameters to be passed
on to the command in a way similar to fork_exec(). This is useful if we
want to wrap editor or pager invocations in a shell.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r-- | src/calcurse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/calcurse.h b/src/calcurse.h index 5165f25..dad9f44 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -930,7 +930,7 @@ void str_toupper (char *); void file_close (FILE *, const char *); void psleep (unsigned); int fork_exec (int *, int *, const char *, const char *const *); -int shell_exec (int *, int *, const char *); +int shell_exec (int *, int *, const char *, const char *const *); int child_wait (int *, int *, int); void press_any_key (void); void print_apoint (const char *, long, struct apoint *); |