aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/package_commands.py
diff options
context:
space:
mode:
authorbors-servo <servo-ops@mozilla.com>2021-02-18 09:40:37 -0500
committerGitHub <noreply@github.com>2021-02-18 09:40:37 -0500
commit5b8f045f2b86848c88108009c46a17dc1c719a95 (patch)
tree8433c076298237ee0aeb8e3c2fbfe3580370118e /python/servo/package_commands.py
parentd079d3c8419d01fdcbdda720ca739d8de6f0d532 (diff)
parent2f5e2ccb669164e1c0c3b5a29c3bd61d39492160 (diff)
downloadservo-5b8f045f2b86848c88108009c46a17dc1c719a95.tar.gz
servo-5b8f045f2b86848c88108009c46a17dc1c719a95.zip
Auto merge of #28092 - jdm:smuppy2, r=emilio,asajeffrey
Update mozjs
Diffstat (limited to 'python/servo/package_commands.py')
-rw-r--r--python/servo/package_commands.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/python/servo/package_commands.py b/python/servo/package_commands.py
index e62a742589c..f44786251cc 100644
--- a/python/servo/package_commands.py
+++ b/python/servo/package_commands.py
@@ -775,7 +775,11 @@ def setup_uwp_signing(ms_app_store, publisher):
def run_powershell_cmd(cmd):
try:
- return subprocess.check_output(['powershell.exe', '-NoProfile', '-Command', cmd])
+ return (
+ subprocess
+ .check_output(['powershell.exe', '-NoProfile', '-Command', cmd])
+ .decode('utf-8')
+ )
except subprocess.CalledProcessError:
print("ERROR: PowerShell command failed: ", cmd)
exit(1)
@@ -841,6 +845,7 @@ def build_uwp(platforms, dev, msbuild_dir, ms_app_store):
.replace("%%PACKAGE_PLATFORMS%%", '|'.join(platforms))
.replace("%%CONFIGURATION%%", Configuration)
.replace("%%SOLUTION%%", path.join(os.getcwd(), 'support', 'hololens', 'ServoApp.sln'))
+ .encode('utf-8')
)
build_file.close()
# Generate an appxbundle.