Closed Skulli closed 1 year ago
I have a PDF generated from Word without form fields and doing fill_form throws
fill_form
SafeShell::CommandFailedException: Shell command ["/opt/homebrew/bin/pdftk", "test.pdf", "fill_form", "/var/folders/z9/9rpgvhwn7t530m5b51097mzw0000gn/T/pdf_forms-fdf20230405-31310-9dq54u", "output", "result.pdf"] failed with status pid 31387 exit 3
even though the result.pdf is successfully generated. If i do the command by hand in the console, i get a warning
Warning: input PDF is not an acroform, so its fields were not filled.
with exit code 3
The thing is, that safe_shell checks if the exit-code is 0. Maybe #83
I have a PDF generated from Word without form fields and doing
fill_form
throwseven though the result.pdf is successfully generated. If i do the command by hand in the console, i get a warning
with exit code 3
The thing is, that safe_shell checks if the exit-code is 0. Maybe #83