mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-24 03:54:21 +01:00
cwd
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user