Issue #1245778 by greg.1.anderson: Make drush_invoke_process in drush-4.x forward-compatible with the same function in drush-5.x.