Hi,

I'm running zlogin as a subprocess under Python 
(https://docs.python.org/3/library/pty.html). This happens by forking the pty 
then spawning pty.spawn in the child process. This has a callback function that 
takes a file descriptor from which it can read data. It works absolutely fine 
for maybe a 20-odd invocations then the callback just stops being called back 
(it's not blocking anywhere in the callback).

Has anyone seen anything like this before? I don't really understand the whole 
pty, forking and in particular zfd business...

Thanks,
Dave


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to