Note that PyCall supports passing Julia I/O streams to Python. So, if you can just monkey-patch the Python library to use a Julia I/O stream to talk to the spectrometer, then it will yield to Julia's event loops.
- [julia-users] non-responsive REPL with PyCall Yakir Gagnon
- [julia-users] Re: non-responsive REPL with PyCall Steven G. Johnson
- Re: [julia-users] Re: non-responsive REPL wit... Yakir Gagnon
- Re: [julia-users] Re: non-responsive REPL... Mohammed El-Beltagy
- Re: [julia-users] Re: non-responsive ... Stefan Karpinski
- Re: [julia-users] Re: non-respon... Yakir Gagnon
- Re: [julia-users] Re: non-re... Stefan Karpinski
- Re: [julia-users] Re: no... Steven G. Johnson
- Re: [julia-users] Re: no... Yakir Gagnon
- Re: [julia-users] Re: non-responsive ... Yakir Gagnon