This is where it's hanging. It needs `stdin=subprocess.PIPE` on the `Popen` call above in order to proceed automatically (otherwise I needed to send Ctrl-D for the process to keep going).