Changes between Initial Version and Version 1 of Ticket #83
- Timestamp:
- 02/08/10 10:13:00 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #83
- Property Owner changed from Antoine Martin to Antoine Martin
-
Property
Status
changed from
new
toaccepted
-
Property
Milestone
changed from
1.0
to0.9.1
-
Property
Summary
changed from
Make better use of twisted and its deferred: ProcessProtocol, sockets...
tostart processes using twisted: use ProcessProtocol
-
Ticket #83 – Description
initial v1 1 1 When starting a process and watching its output, we shouldn't do this in a separate thread but instead integrate the code with twisted main-loop (gtk/glib's actually) using ProcessProtocol. 2 2 3 When testing for a socket using wait_for_socket, again we should use a twisted protocol to do that. 4 5 Finally, when waiting for a process by pid (one we may not have launched ourselves), we should use gobject.child_watch_add(pid) which will also work with the main loop. 3 Also, when waiting for a process by pid (one we may not have launched ourselves), we should use gobject.child_watch_add(pid) which will also integrate with the main loop.