Summary:
Running `a.php` from command line doesn't work on Windows, we need to run `php a.php`.
This shouldn't break other OSes.
Test Plan:
$ arc diff --background 1
Reviewers: epriestley
Reviewed By: epriestley
CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D3544
// Insert after `arc`.
array_splice($argv, 1, 0, array('--ansi'));
}
- $lint_unit = new ExecFuture('%Ls', $argv);
+ $lint_unit = new ExecFuture('php %Ls', $argv);
$lint_unit->write('', true);
$lint_unit->start();
}