Merge pull request #33705 from overleaf/mj-clsi-cwd-for-conversions

[clsi] Add cwd argument to CommandRunner and use to simplify conversions

GitOrigin-RevId: 5333e3262a99e602ab5470ae1e23facb5b28a170
This commit is contained in:
Mathias Jakobsen
2026-05-18 13:40:47 +01:00
committed by Copybot
parent c0111fec29
commit ce6f9b8e8c
6 changed files with 178 additions and 39 deletions

View File

@@ -626,7 +626,8 @@ async function _runSynctex(projectId, userId, command, opts) {
imageName || defaultImageName,
timeout,
{},
compileGroup
compileGroup,
null
)
return {
stdout,
@@ -674,7 +675,8 @@ async function wordcount(projectId, userId, filename, image) {
image,
timeout,
{},
compileGroup
compileGroup,
null
)
const results = _parseWordcountFromOutput(stdout)
logger.debug(