I am able to launch exe files from within QGIS actions without any problem, but when I try to launch one in particular (img2pdf.exe) I get an error.
Syntax error: invalid syntax
The command I am issuing is os.system("c:/img2pdf/img2pdf.exe"). Using that same format can successfully invoke other other exe.
If I open a command prompt and paste the exe file path into it, the application launches as expected.
What is the difference between launching from within a QGIS action and launching directly from the command line that could be causing img2pdf to fail?
Windows 10, QGIS 2.18.9-1.