From ce13b70c5a0fae3788dc4d551fff24dd5c001649 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Wed, 16 May 2012 15:55:40 +0200 Subject: 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 --- src/calcurse.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/calcurse.h') 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 *); -- cgit v1.2.3-54-g00ecf