mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
setup: make the bin/tahoe executable exit with the appropriate exit code
This commit is contained in:
parent
b77c89ac60
commit
824edc438f
@ -48,7 +48,8 @@ if sys.platform == "win32":
|
||||
executable = os.path.join(base, "support", bin_dir, "tahoe")
|
||||
|
||||
try:
|
||||
subprocess.call([executable] + sys.argv[1:], env=os.environ)
|
||||
res = subprocess.call([executable] + sys.argv[1:], env=os.environ)
|
||||
sys.exit(res)
|
||||
except (OSError, IOError), le:
|
||||
if le.args[0] == errno.ENOENT:
|
||||
print whoami
|
||||
|
Loading…
x
Reference in New Issue
Block a user