fix copy/paste error in popen changes that broke signals