(with the command prompt)
I want to open my application with "..." using the cmd but i doesnt find what is the command. A command like: "start my_application with 'python.exe' " (just an exemple)
CodePudding user response:
You basically have to start the application you want to start "my_application" with and use "my_application" as an argument. I believe that this should work in most cases.
In your example you could just run "python.exe my_application".
CodePudding user response:
It depends on your application. This things work with something called environment variables which exist in Windows and Unix-like systems. It's basically a registered path to the program you want to use for run something or open a file. For example python environment variable points to C:\Program Files\Python[version] by default. In this example you can run hello_world.py with:
python hello_world.py
