Configure child process to run with parent's stdin

Changed how child processes are spawned so that interactive commands work as expected.