Skip to content

Instantly share code, notes, and snippets.

@david-botelho-mariano
Last active June 2, 2021 14:22
Show Gist options
  • Save david-botelho-mariano/fccfe79934d84f7216e4ceec36312f05 to your computer and use it in GitHub Desktop.
Save david-botelho-mariano/fccfe79934d84f7216e4ceec36312f05 to your computer and use it in GitHub Desktop.
execute cmd command with parameters using python
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