Revert "Execute commands in a shell. Fixes #67"

This reverts commit c2728e9cc2f4dbb83d3322e0aa8cd3627231f08e.
Breaks timeout testing. Moved to shell branch.