bug 1417414, force shell=True when running config.guess, r?Build
MozReview-Commit-ID: GpRlbS4SoA2
--- a/python/mozbuild/mozbuild/base.py
+++ b/python/mozbuild/mozbuild/base.py
@@ -474,17 +474,17 @@ class MozbuildObject(ProcessExecutionMix
# This is a little kludgy. We need access to the normalize_command
# function. However, that's a method of a mach mixin, so we need a
# class instance. Ideally the function should be accessible as a
# standalone function.
o = MozbuildObject(self.topsrcdir, None, None, None)
args = o._normalize_command([p], True)
_config_guess_output.append(
- subprocess.check_output(args, cwd=self.topsrcdir).strip())
+ subprocess.check_output(args, cwd=self.topsrcdir, shell=True).strip())
return _config_guess_output[0]
def notify(self, msg):
"""Show a desktop notification with the supplied message
On Linux and Mac, this will show a desktop notification with the message,
but on Windows we can only flash the screen.
"""