Open ydinari opened 8 years ago
I can think of two ways:
select.select
. select.kqueue
I tried the former but it won't really work for detecting SIPp process completion since each subproc writes extensively to stderr/stdout, plus, I don't think we'll be able to do async launching the same way since you can't pre-register fds.
I have no experience with the latter and don't have a BSD machine to test on.
@vodik got any other ideas? @ydinari If you'd like to take a try at using the latter that would be handy for sure :)
Just a thought - after we bring in the py3 support (#15) we could just use asyncio
?
@tgoodlet I have no problem with that so long as you're cool being python3 only.
@tgoodlet Oh, without asyncio, just use select.select
, its going to work just fine.
@ydinari Can you give #17 a try and let me know if it works for you? Thanks!
@ydinari any luck trying that branch?
Earth to @ydinari?
Need to change use of select.epoll (in launch.py) with select.select() (I think), because epoll is only supported on linux.