execute all subprocess calls in a shell