]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Step towards working `arc diff --background 1` on Windows
authorvrana <jakubv@fb.com>
Fri, 21 Sep 2012 23:29:12 +0000 (16:29 -0700)
committervrana <jakubv@fb.com>
Mon, 24 Sep 2012 18:04:19 +0000 (11:04 -0700)
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

src/workflow/ArcanistDiffWorkflow.php

index af2d932f0428e0a796c7f6b4a6717314a859eb48..5bccc159500f95e59a4ada0dbebe753576814038 100644 (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();
     }