Homec4science

Fix some Windows EDITOR issues

Authored by epriestley <git@epriestley.com> on Jul 12 2012, 02:02.

Description

Fix some Windows EDITOR issues

Summary:
See D2955, D2956. Fix some more issues:

  • We're escaping in a way that makes it easier to specify EDITOR but prevents you from specifying flags.
  • Catch complete proc_open() failures and fail less mysteriously.
  • Don't use +line on Windows since it doesn't work with most editors.

Test Plan: Created this diff on Windows.

Reviewers: btrahan, jungejason

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T1309

Differential Revision: https://secure.phabricator.com/D2957

Details

Committed
epriestley <git@epriestley.com>Jul 12 2012, 02:03
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU6fc90f56ba55: Allow caller to set a "preferred" editor for PhutilInteractiveEditor
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHUddd37265048d: Fix some Windows EDITOR issues (authored by epriestley <git@epriestley.com>).Jul 12 2012, 02:03