Switch to use exec instead of spawn

Spawn causes issues when you kill the parent process, so using exec "should" resolve this.