[tor-bugs] #9376 [Pluggable transport]: subprocess management module for pyptlib

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Aug 7 00:54:06 UTC 2013


#9376: subprocess management module for pyptlib
---------------------------------+------------------------------------------
 Reporter:  infinity0            |          Owner:  asn           
     Type:  enhancement          |         Status:  needs_revision
 Priority:  normal               |      Milestone:                
Component:  Pluggable transport  |        Version:                
 Keywords:  pyptlib              |         Parent:                
   Points:                       |   Actualpoints:                
---------------------------------+------------------------------------------

Comment(by infinity0):

 I spoke too soon; there is no way to catch CTRL-C on windows in python
 2.7: http://stackoverflow.com/questions/16686510/how-do-i-capture-sigint-
 in-python-on-windows

 And the corresponding python bug is marked wontfix:
 http://bugs.python.org/issue18040 but perhaps we can persuade them to
 accept it...

 I have not tried catching CTRL-BREAK yet; there is a signal.SIGBREAK on
 windows python but it's undocumented.

 At the moment windows Tor kills PTs using TerminateProcess (see #9330); it
 should probably send either CTRL-BREAK or 2 CTRL-Cs to the PT instead.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9376#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list