<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I tested it in win32, and it doesn't really work. Some system calls
differ. Here's the output:<br>
<br>
&nbsp;&nbsp;&nbsp; <br>
IDLE 1.1.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
&gt;&gt;&gt; ================================ RESTART
================================<br>
&gt;&gt;&gt; <br>
<br>
Traceback (most recent call last):<br>
&nbsp; File "C:\Documents and
Settings\bushwacker\Desktop\test\make-private-tor-network.py", line
154, in -toplevel-<br>
&nbsp;&nbsp;&nbsp; main(options)<br>
&nbsp; File "C:\Documents and
Settings\bushwacker\Desktop\test\make-private-tor-network.py", line 75,
in main<br>
&nbsp;&nbsp;&nbsp; tor_version = tor_get_version(options.binary)<br>
&nbsp; File "C:\Documents and
Settings\bushwacker\Desktop\test\make-private-tor-network.py", line 28,
in tor_get_version<br>
&nbsp;&nbsp;&nbsp; output = run(binary, "tor", "--version")<br>
&nbsp; File "C:\Documents and
Settings\bushwacker\Desktop\test\make-private-tor-network.py", line 14,
in run<br>
&nbsp;&nbsp;&nbsp; process = subprocess.Popen(args, executable = binary, stdout =
subprocess.PIPE, stderr = None, stdin = None)<br>
&nbsp; File "C:\Python24\lib\subprocess.py", line 549, in __init__<br>
&nbsp;&nbsp;&nbsp; (p2cread, p2cwrite,<br>
&nbsp; File "C:\Python24\lib\subprocess.py", line 609, in _get_handles<br>
&nbsp;&nbsp;&nbsp; p2cread = self._make_inheritable(p2cread)<br>
&nbsp; File "C:\Python24\lib\subprocess.py", line 650, in _make_inheritable<br>
&nbsp;&nbsp;&nbsp; DUPLICATE_SAME_ACCESS)<br>
TypeError: an integer is required<br>
<br>
Adam Langley wrote:
<blockquote cite="mid396556a205090108281ee7f96@mail.gmail.com"
 type="cite">
  <pre wrap="">On 9/1/05, ADB <a class="moz-txt-link-rfc2396E" href="mailto:firefox-gen@walala.org">&lt;firefox-gen@walala.org&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Good code, just by looking at it, it seems very portable. Before I go
testing it on Win32, though, it shouldn't screw up my existing config
files, etc. if they are present right? (Just want to be sure)
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Portability is a fluke - I've not coded on Windows since I was about 12.

It will stomp some files, but only ones which it thinks that it would
have created last time. Thus, if you have lots of directories called
nodeD0 and so forth it will think that it owns them.

Generally, run it in a new directory and all the files it creates
should be within that directory.
(barring command line args to tell it otherwise and/or really freaky
Windows behavior - but I don't think so)

AGL

  </pre>
</blockquote>
<br>
</body>
</html>