from cStringIO import StringIO
from twisted.python import runtime
from twisted.internet import utils
-import os.path, re
+import os.path, re, sys
from allmydata.scripts import runner
from allmydata.util import fileutil, pollmixin
import allmydata
bintahoe = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(allmydata.__file__))), 'bin', 'tahoe')
+if sys.platform == "win32":
+ bintahoe += ".exe"
class TheRightCode(unittest.TestCase, common_util.SignalMixin):
def test_path(self):