This edit removed the whole traceback (call stack) in the question. IMHO, this contained the detail in which line exactly the problem occurred.
Is it just my lack of Python knowledge not finding the culprit line, or shouldn't that edit have been approved?
%1 is not a valid Win32 application
, how would you know whether to useshell=True
because a.py
file was executed or whether a 64 bit executable was executed on 32 bit Windows or a 16 bit executable was executed on 64 bit Windows? I'd like to exclude likelyness and experience, because I don't want to guess.