Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TamTam.py
diff options
context:
space:
mode:
authorNat <natcl@hotmail.com>2007-06-26 20:14:45 (GMT)
committer Nat <natcl@hotmail.com>2007-06-26 20:14:45 (GMT)
commite4cecbbf7fc4ecb6a8217ac19cc4027f95a1c164 (patch)
treeb458f977dba080b95903d0cc4bff6bc6a665506b /TamTam.py
parent7a88b72763efed47c21dc3232e1b8b1352562f7f (diff)
fork tst
Diffstat (limited to 'TamTam.py')
-rwxr-xr-xTamTam.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/TamTam.py b/TamTam.py
index 6d82763..f93483b 100755
--- a/TamTam.py
+++ b/TamTam.py
@@ -163,15 +163,13 @@ class TamTam(Activity):
return
elif key == 49:#39: S
#self.set_mode('synth')
- #(a,b) = commands.getstatusoutput('/usr/share/activities/TamTam.activity/cnee --record --keyboard --mouse --stop-key h --out-file /home/olpc/test.xnl \&')
- #print b
- os.execl('/usr/share/activities/TamTam.activity/cnee --record --keyboard --mouse --stop-key h --out-file /home/olpc/test.xnl \&')
+ (a,b) = commands.getstatusoutput('/usr/share/activities/TamTam.activity/cnee --record --keyboard --mouse --stop-key h --out-file /home/olpc/test.xnl \&')
+ print b
return
elif key == 10:#25: W
#self.set_mode('welcome')
- #(a,b) = commands.getstatusoutput('/usr/share/activities/TamTam.activity/cnee --replay --keyboard --mouse --file /home/olpc/test.xnl \&')
- #print b
- os.execl('/usr/share/activities/TamTam.activity/cnee --replay --keyboard --mouse --file /home/olpc/test.xnl \&')
+ (a,b) = commands.getstatusoutput('/usr/share/activities/TamTam.activity/cnee --replay --keyboard --mouse --file /home/olpc/test.xnl \&')
+ print b
return
elif key == 53: #X
self.destroy()