• Avery Pennarun's avatar
    ui-macos/main.py: fix wait() to avoid deadlock. · 5a39341d
    Avery Pennarun authored
    If the subprocess was trying to write to its stdout/stderr, its process
    would never actually finish because it was blocked waiting for us to read
    it, but we were blocked on waitpid().  Instead, use waitpid(WNOHANG) and
    continually read from the subprocess (which should be a blocking operation)
    until it exits.
    5a39341d
Name
Last commit
Last update
..
compat Loading commit data...
ui-macos Loading commit data...
Makefile Loading commit data...
all.do Loading commit data...
assembler.py Loading commit data...
clean.do Loading commit data...
client.py Loading commit data...
default.8.do Loading commit data...
do Loading commit data...
firewall.py Loading commit data...
helpers.py Loading commit data...
hostwatch.py Loading commit data...
main.py Loading commit data...
options.py Loading commit data...
server.py Loading commit data...
ssh.py Loading commit data...
sshuttle Loading commit data...
sshuttle.md Loading commit data...
ssnet.py Loading commit data...
ssyslog.py Loading commit data...
stresstest.py Loading commit data...