Skip to content

Commit

Permalink
Mgmt-Lite: add shell true for subprocess (#18533)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenTanyi committed Jan 11, 2021
1 parent 166e530 commit 10d9c3b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions eng/mgmt/automation/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,12 +225,16 @@ def update_version(sdk_root: str, service: str):
subprocess.run(
'python3 eng/versioning/update_versions.py --ut library --bt client --sr',
stdout = subprocess.DEVNULL,
stderr = sys.stderr)
stderr = sys.stderr,
shell = True,
)
subprocess.run(
'python3 eng/versioning/update_versions.py --ut library --bt client --tf {0}/README.md'
.format(OUTPUT_FOLDER_FORMAT.format(service)),
stdout = subprocess.DEVNULL,
stderr = sys.stderr)
stderr = sys.stderr,
shell = True,
)
finally:
os.chdir(pwd)

Expand Down

0 comments on commit 10d9c3b

Please sign in to comment.