Fix node runner for running without a system-level node installed.

This commit is contained in:
Anthony Sottile 2014-03-24 11:17:38 -07:00
parent c300a11a97
commit d4c9f9075e
2 changed files with 7 additions and 8 deletions

View file

@ -24,7 +24,7 @@ class Environment(object):
"""
raise NotImplementedError
def run(self, cmd, stdin=None, **kwargs):
def run(self, cmd, stdin=None):
"""Returns (returncode, stdout, stderr)."""
proc = subprocess.Popen(
['bash', '-c', ' '.join([self.env_prefix, cmd])],