at 22.05-pre 1.0 kB view raw
1diff --git a/src/pikepdf/_methods.py b/src/pikepdf/_methods.py 2index 9db6b49..4020bcf 100644 3--- a/src/pikepdf/_methods.py 4+++ b/src/pikepdf/_methods.py 5@@ -204,7 +204,7 @@ def _mudraw(buffer, fmt) -> bytes: 6 tmp_in.flush() 7 8 proc = run( 9- ['mudraw', '-F', fmt, '-o', '-', tmp_in.name], 10+ ['@mudraw@', '-F', fmt, '-o', '-', tmp_in.name], 11 capture_output=True, 12 check=True, 13 ) 14diff --git a/src/pikepdf/jbig2.py b/src/pikepdf/jbig2.py 15index 80cc910..64f6d31 100644 16--- a/src/pikepdf/jbig2.py 17+++ b/src/pikepdf/jbig2.py 18@@ -25,7 +25,7 @@ def extract_jbig2( 19 global_path = Path(tmpdir) / "global" 20 output_path = Path(tmpdir) / "outfile" 21 22- args = ["jbig2dec", "-e", "-o", os.fspath(output_path)] 23+ args = ["@jbig2dec@", "-e", "-o", os.fspath(output_path)] 24 25 # Get the raw stream, because we can't decode im_obj - that is why we are here 26 # (Strictly speaking we should remove any non-JBIG2 filters if double encoded)