scripts/: Make subprocess calls unicode-aware.

This commit is contained in:
Eklavya Sharma
2016-07-26 10:10:05 +05:30
committed by Tim Abbott
parent 97d877f49e
commit 51ea5c1602
3 changed files with 3 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ try:
logging.info("Unpacking the tarball")
unpack_zulip = os.path.realpath(os.path.join(os.path.dirname(__file__), 'unpack-zulip'))
deploy_path = subprocess.check_output([unpack_zulip, archived_tarball_path],
preexec_fn=su_to_zulip)
preexec_fn=su_to_zulip, universal_newlines=True)
# Chdir to deploy_path and then run upgrade-zulip-stage-2 from the
# new version of Zulip (having the upgrade logic run from the new