switch out subprocess' Popen for ours so we get postexec functionality, #49.