Clean up exec_subshell, removing al_list from it

This commit is contained in:
ridiculousfish
2012-02-07 23:35:41 -08:00
parent 6a31457c6d
commit 5f686ebb47
9 changed files with 26 additions and 34 deletions

View File

@@ -193,7 +193,7 @@ wcstring builtin_help_get( parser_t &parser, const wchar_t *name )
wcstring out;
const wcstring name_esc = escape_string(name, 1);
const wcstring cmd = format_string(L"__fish_print_help %ls", name_esc.c_str());
if( exec_subshell2( cmd, lst ) >= 0 )
if( exec_subshell( cmd, lst ) >= 0 )
{
for( size_t i=0; i<lst.size(); i++ )
{