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

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -