2

Possible Duplicates:
Python subprocess
child subprocess kill in python daemon

How can I run commands in the windows command line through python?

I'm trying to have it so that it starts a subprocess, I don't care about the output, but I want to be able to kill it at any time.

Community
  • 1
  • 1
Takkun
  • 8,119
  • 13
  • 38
  • 41

1 Answers1

1

subprocess.Popen: http://docs.python.org/library/subprocess.html

Mikola
  • 9,176
  • 2
  • 34
  • 41
  • I'd rather `subprocess.call` http://docs.python.org/library/subprocess.html#subprocess.call – Evpok Jun 26 '11 at 21:30