카테고리 없음

python phantomjs 자식 프로세스 안죽는 문제 해결

땅진 2018. 1. 5. 13:32
import signal

driver.service.process.send_signal(signal.SIGTERM) # kill the specific phantomjs child proc
driver.quit()                                      # quit the node proc


참조: https://stackoverflow.com/questions/44995042/phantomjs-raise-oserror-errno-9-bad-file-descriptor