1: const task = spawn( "pdf2svg", [ "${pdfFilePath}", "${path.resolve(svgDirectoryPath, svgFilePrefix + "%d.svg")}", "all", ], { shell: true }, )