Re: [python-win32] win32process.CreateProcess: '%1 is not a valid Win32 application.'

2020-12-09 Thread Niko Pasanen
Dennis, Eryk, Thank you for your responses. The results for assoc and ftype are the same on my machine (should be tested on person C's pc, too). The space in filepath was one of my first guesses, but unfortunately I was not able to reproduce the error by putting a space in the filepath. But as Er

Re: [python-win32] win32process.CreateProcess: '%1 is not a valid Win32 application.'

2020-12-09 Thread Eryk Sun
On 12/9/20, Niko Pasanen wrote: > > So the problem might be that on the Person C's computer, there is actually > a file called "first" that is creating the error. The reason why I was > using win32process.CreateProcess like this was that I'm actually using > pywinauto, which uses win32process.Cre