Abstraction over python subprocess.Popen for running subprocess asynchronous
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
subprocess_helper.py

README.md

prc = SubProcess('cat')
test_text = [
	'123\n',
	'text\n',
	'ololo\n',
]

prc.pipe.stdin.write(''.join(test_text))

from time import sleep
sleep(1)

assert prc.stdout == ''.join(test_text)