Index: ../trunk-jpl/src/m/os/issmssh.py =================================================================== --- ../trunk-jpl/src/m/os/issmssh.py (revision 13825) +++ ../trunk-jpl/src/m/os/issmssh.py (revision 13826) @@ -39,3 +39,16 @@ else: subprocess.call('ssh -l %s %s "%s"' % (login,host,command),shell=True) + # Make FreeBSD use blocking I/O like other platforms + import sys + import fcntl + from os import O_NONBLOCK + + fd = sys.stdin.fileno() + flags = fcntl.fcntl(fd, fcntl.F_GETFL) + fcntl.fcntl(fd, fcntl.F_SETFL, flags & ~O_NONBLOCK) + + fd = sys.stdout.fileno() + flags = fcntl.fcntl(fd, fcntl.F_GETFL) + fcntl.fcntl(fd, fcntl.F_SETFL, flags & ~O_NONBLOCK) +