Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mosquito/subprocess_helper
Abstraction over python subprocess.Popen for running subprocess asynchronous
https://github.com/mosquito/subprocess_helper
Last synced: about 2 months ago
JSON representation
Abstraction over python subprocess.Popen for running subprocess asynchronous
- Host: GitHub
- URL: https://github.com/mosquito/subprocess_helper
- Owner: mosquito
- License: lgpl-3.0
- Created: 2013-03-04T14:54:33.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-08-20T20:08:59.000Z (about 11 years ago)
- Last Synced: 2024-07-01T01:57:42.485Z (3 months ago)
- Language: Python
- Homepage:
- Size: 117 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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)