We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5665c7 commit aff6a39Copy full SHA for aff6a39
1 file changed
plugins/builder/pdf_builder.py
@@ -262,6 +262,11 @@ def command(
262
:returns:
263
Process object representing invoked command.
264
"""
265
+ if isinstance(cmd, list):
266
+ cmd = list(map(self.expandvars, cmd))
267
+ elif isinstance(cmd, str):
268
+ cmd = self.expandvars(cmd)
269
+
270
if cwd is None:
271
cwd = self.tex_dir
272
@@ -272,7 +277,7 @@ def command(
277
shell = self.run_in_shell
273
278
274
279
return external_command(
275
- cmd=list(map(self.expandvars, cmd)),
280
+ cmd=cmd,
276
281
cwd=cwd,
282
shell=shell,
283
env=env,
0 commit comments