diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-07 23:35:41 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-07 23:35:41 -0800 |
commit | 5f686ebb478b461c3044261a84fc347072c1ff07 (patch) | |
tree | b362f4609c405cd62e734ef926ee6dc92df5a66b /exec.h | |
parent | 6a31457c6d764425f8039a6159e92b5f84a2a0c5 (diff) |
Clean up exec_subshell, removing al_list from it
Diffstat (limited to 'exec.h')
-rw-r--r-- | exec.h | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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 ); /** |