From: vrana Date: Wed, 26 Sep 2012 00:57:01 +0000 (-0700) Subject: Don't run background process with raw diff source X-Git-Tag: conduit-6~105 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=b22e94d5550f3b906738cdf1c090f0798521d017;p=arcanist.git Don't run background process with raw diff source Test Plan: $ arc diff Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3553 --- diff --git a/src/workflow/ArcanistDiffWorkflow.php b/src/workflow/ArcanistDiffWorkflow.php index 9bbe7e7f..bf3d7d7a 100644 --- a/src/workflow/ArcanistDiffWorkflow.php +++ b/src/workflow/ArcanistDiffWorkflow.php @@ -377,7 +377,10 @@ EOTEXT $this->runDiffSetupBasics(); - $background = $this->getArgument('background', !phutil_is_windows()); + $background = $this->getArgument('background', true); + if ($this->isRawDiffSource() || phutil_is_windows()) { + $background = false; + } if ($background) { $argv = $this->getPassedArguments();