How to interact with the running process in python? -
for example, opened power-shell manually in windows.now know process id of it. want run commands on process using python.
open power-shell manually. find process id. execute commands using process id.
please mention code **
you can subprocess python standard library https://docs.python.org/2/library/subprocess.html
Comments
Post a Comment