Merge pull request #293 from joerick/windows-chain-commands

Allow chaining of commands on Windows
This commit is contained in:
Joe Rickerby
2020-03-07 18:39:04 +00:00
committed by GitHub
3 changed files with 10 additions and 8 deletions
+1 -2
View File
@@ -20,8 +20,7 @@ IS_RUNNING_ON_TRAVIS = os.environ.get('TRAVIS_OS_NAME') == 'windows'
def shell(args, env=None, cwd=None):
print('+ ' + ' '.join(args))
args = ['cmd', '/E:ON', '/V:ON', '/C'] + args
return subprocess.check_call(' '.join(args), env=env, cwd=cwd)
return subprocess.check_call(' '.join(args), env=env, cwd=cwd, shell=True)
def get_nuget_args(version, arch):