Last active
June 2, 2021 14:22
-
-
Save david-botelho-mariano/fccfe79934d84f7216e4ceec36312f05 to your computer and use it in GitHub Desktop.
execute cmd command with parameters using python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
args = ['C:\\Program Files\\Mozilla Firefox\\firefox.exe', 'google.com'] | |
subprocess.call(args) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment