I'm trying to call a command line with Popen.
The command line operates in the shell
cd C:\Program Files (x86)\Inventor
Inventor -exe -- no-gui -f C:\Users\Vince\Documents\Inventor\Inventor.iam
But when I try this with Popen in my program
from subprocess import *
from os.path import expanduser
home = expanduser("~")
path = home + "\\Documents\\Inventor\\Inventor.iam"
cmd = "Inventor -exe -- no-gui -f " + path
Popen(cmd, cwd="C:\\Program Files (x86)\\Inventor")
It returns me FileNotFoundError: [WinError 2]
So I can't figure out what is wrong with the file path.