diff --git a/cashu/tor/tor.py b/cashu/tor/tor.py index b6666e1..51986f7 100755 --- a/cashu/tor/tor.py +++ b/cashu/tor/tor.py @@ -45,6 +45,7 @@ class TorProxy: cmd = ["timeout", f"{self.keep_alive}"] + cmd self.tor_proc = subprocess.Popen( cmd, + cwd=os.path.dirname(self.tor_path()), shell=False, close_fds=True, stdout=subprocess.PIPE,