We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5df5fe commit 0b469ebCopy full SHA for 0b469eb
1 file changed
windows-release/merge-and-upload.py
@@ -65,7 +65,9 @@ class RunError(Exception):
65
pass
66
67
68
-def _run(*args):
+def _run(*args, single_cmd=False):
69
+ if single_cmd:
70
+ args = args[0]
71
with subprocess.Popen(
72
args,
73
stdout=subprocess.PIPE,
@@ -230,7 +232,8 @@ def sign_json(cat_file, *files):
230
232
_run(MAKECAT, "-v", cdf)
231
233
if not cat.is_file():
234
raise FileNotFoundError(cat)
- _run(SIGN_COMMAND, cat)
235
+ # Pass as a single arg because the command variable has its own arguments
236
+ _run(f'{SIGN_COMMAND} "{cat}"', single_cmd=True)
237
cdf.unlink()
238
239
0 commit comments