aboutsummaryrefslogtreecommitdiffhomepage
path: root/exec.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-07 23:35:41 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-07 23:35:41 -0800
commit5f686ebb478b461c3044261a84fc347072c1ff07 (patch)
treeb362f4609c405cd62e734ef926ee6dc92df5a66b /exec.h
parent6a31457c6d764425f8039a6159e92b5f84a2a0c5 (diff)
Clean up exec_subshell, removing al_list from it
Diffstat (limited to 'exec.h')
-rw-r--r--exec.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/exec.h b/exec.h
index 17d29157..ddbe2dcb 100644
--- a/exec.h
+++ b/exec.h
@@ -50,14 +50,12 @@ void exec( parser_t &parser, job_t *j );
proc_gfet_last_status will not be changed.
\param cmd the command to execute
- \param l The list to insert output into.If \c l is zero, the output will be discarded.
+ \param outputs The list to insert output into.
\return the status of the last job to exit, or -1 if en error was encountered.
*/
-__warn_unused int exec_subshell( const wchar_t *cmd,
- array_list_t *l );
-
-__warn_unused int exec_subshell2( const wcstring &cmd, std::vector<wcstring> &outputs );
+__warn_unused int exec_subshell(const wcstring &cmd, std::vector<wcstring> &outputs );
+__warn_unused int exec_subshell(const wcstring &cmd );
/**