Closed Exirtis closed 7 years ago
This is a nontrivial problem because I explicitly use this UNIX signal to handle when phantomjs hangs. I was hoping that this got translated to W10 behind the scenes but apparently not.
Would you or someone please Google and suggest Python code to handle timeouts of a hung subprocess on Windows?
Would you or someone please Google and suggest Python code to handle timeouts of a hung subprocess on Windows?
I'll look around and see what I can find.
First, thank you for all of your help thus far. I really appreciate it.
To recap my setup: I'm running Windows 10 with
Python 3.6
,selenium
,numpy
,requests
,Faker
, andphantomjs
installed.After you updated the script to check for the availability of
nice
, I ran the updated script and encountered the following error:I won't even try speculating what's going on here, since I think my prior guesses haven't been very useful.