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

r - Trouble relying on third party package imports in my package -

Payment information shows nothing in one page checkout page magento -