summaryrefslogtreecommitdiffstats
path: root/Demo/sgi/al/intercom.py
diff options
context:
space:
mode:
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