1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-01-23 05:01:12 +01:00

Step towards working arc diff --background 1 on Windows

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
This commit is contained in:
vrana 2012-09-21 16:29:12 -07:00
parent aa425c7ea9
commit 32e123c515

View file

@ -387,7 +387,7 @@ EOTEXT
// 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();
}