學習 pexpect.spawn

1,碰到僵死進程spa child = pexpect.spawn(cmd, logfile=sys.stdout) child.expect( pexpect.EOF ) child.close() .net 來源:http://www.heikkitoivonen.net/blog/2009/01/28/pexpect-and-inconsistent-exit-status/blog
相關文章
相關標籤/搜索