Inbetween - disfunctional
Replaces Subprocess with own implementation.