commit | 50692d62de3a2aa13aa1ebc56fbe045842a45580 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sun Sep 15 21:05:15 1991 +0000 |
committer | Guido van Rossum <guido@python.org> | Sun Sep 15 21:05:15 1991 +0000 |
tree | ddc5e42f1a0693f77d8813f026f4077dd632961d | |
parent | 4f5eafb0cf0d5144813c4047d934063b64229804 [diff] [blame] |
Initial revision
diff --git a/Demo/sgi/al/x.py b/Demo/sgi/al/x.py new file mode 100755 index 0000000..ecc12d8 --- /dev/null +++ b/Demo/sgi/al/x.py
@@ -0,0 +1,12 @@ +# Demonstrate that rsh exits when the remote end closes std{in,out,err}. +# rsh voorn exec /ufs/guido/bin/sgi/python /ufs/guido/mm/demo/audio/x.py + +print 'hoi!' +import sys +sys.stdin.close() +sys.stdout.close() +sys.stderr.close() +import time +time.sleep(5) +sys.stdout = open('@', 'w') +sys.stdout.write('Hello\n')