mirror of
1
0
Fork 0

Merge branch 'bixel/master'

This commit is contained in:
Anish Athalye 2016-11-17 13:50:32 -05:00
commit 913d5484ca
1 changed files with 3 additions and 1 deletions

View File

@ -41,8 +41,10 @@ class Shell(dotbot.Plugin):
self._log.lowinfo(cmd)
else:
self._log.lowinfo('%s [%s]' % (msg, cmd))
executable = os.environ.get('SHELL')
ret = subprocess.call(cmd, shell=True, stdin=stdin, stdout=stdout,
stderr=stderr, cwd=self._context.base_directory())
stderr=stderr, cwd=self._context.base_directory(),
executable=executable)
if ret != 0:
success = False
self._log.warning('Command [%s] failed' % cmd)