Asked

python question: how get output python subprocess ?¿

In realtime!

code wins arguments http://opensrc.mx
Python, Unix, Surfboards & Heavy Barbells. Owner of Netlandish Inc.

Easiest method is using the subprocess module. If you're using Py3.5+ (you should be) see:

docs.python.org/3/library/sub…

Python, Unix, Surfboards & Heavy Barbells. Owner of Netlandish Inc.

Oops, just saw your addition of "in realtime", you're going to want to use Popen. See the docs.

You might check out how delegator.py works under the hood. github.com/kennethreitz/deleg…

code wins arguments http://opensrc.mx

im using envoy, and not really like i will give a changes to delegator i see the block params if it works