diff options
author | Nat <natcl@hotmail.com> | 2007-06-26 20:14:45 (GMT) |
---|---|---|
committer | Nat <natcl@hotmail.com> | 2007-06-26 20:14:45 (GMT) |
commit | e4cecbbf7fc4ecb6a8217ac19cc4027f95a1c164 (patch) | |
tree | b458f977dba080b95903d0cc4bff6bc6a665506b /TamTam.py | |
parent | 7a88b72763efed47c21dc3232e1b8b1352562f7f (diff) |
fork tst
Diffstat (limited to 'TamTam.py')
-rwxr-xr-x | TamTam.py | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -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() |