summaryrefslogtreecommitdiffstats
path: root/Demo/sgi/al/intercom.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-12-24 13:55:16 (GMT)
committerGuido van Rossum <guido@python.org>1991-12-24 13:55:16 (GMT)
commit488b7d939d9a831feea70ab3a50ea53f4c297dc9 (patch)
treefb103b2c5529e660d0d1f7fe5ab96c1850c847e8 /Demo/sgi/al/intercom.py
parent04fe492a4491ab85db600c574105b1284f670439 (diff)
downloadcpython-488b7d939d9a831feea70ab3a50ea53f4c297dc9.zip
cpython-488b7d939d9a831feea70ab3a50ea53f4c297dc9.tar.gz
cpython-488b7d939d9a831feea70ab3a50ea53f4c297dc9.tar.bz2
*** empty log message ***
Diffstat (limited to 'Demo/sgi/al/intercom.py')
-rwxr-xr-xDemo/sgi/al/intercom.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Demo/sgi/al/intercom.py b/Demo/sgi/al/intercom.py
index f101c11..2babb93 100755
--- a/Demo/sgi/al/intercom.py
+++ b/Demo/sgi/al/intercom.py
@@ -44,10 +44,11 @@ def client(hostname):
print 'client starting'
cmd = 'rsh ' + hostname + ' "cd ' + AUDIODIR
cmd = cmd + '; DISPLAY=:0; export DISPLAY'
- cmd = cmd + '; exec ' + PYTHON + ' intercom.py -r '
+ cmd = cmd + '; ' + PYTHON + ' intercom.py -r '
for flag in debug: cmd = cmd + flag + ' '
cmd = cmd + gethostname()
cmd = cmd + '"'
+ if debug: print cmd
pipe = posix.popen(cmd, 'r')
ack = 0
nak = 0