Support launching an ‘owned’ Tor process
#7666 (closed) suggests that Stem provide an easy way to send the
TAKEOWNERSHIP command along a control-port connection (and provides a patch). This may be useful (at least within Stem), but it is probably too low-level for controller authors to use correctly.
Instead, Stem should provide an easy way to launch a Tor process which is ‘owned’ by the controller process. See §3.23 of control-spec.txt for how to do this correctly. Do not leave out the third step (“
RESETCONF __OwningControllerProcess”) like chiiph did in Vidalia, or Tor will waste CPU and spam any info-level log destinations with “Monitored process (number) is still alive.” every 15 seconds.