diff options
author | Nat <natcl@hotmail.com> | 2007-06-26 18:58:23 (GMT) |
---|---|---|
committer | Nat <natcl@hotmail.com> | 2007-06-26 18:58:23 (GMT) |
commit | ce7ac2bd476f55c4e5763673288277924f10b6db (patch) | |
tree | eb61cbc26c2534b98281ba16838731a78bda8771 /TamTam.py | |
parent | 9f880f31821be6a2f98aa27634eab32e6cdcb446 (diff) |
Execl
Diffstat (limited to 'TamTam.py')
-rwxr-xr-x | TamTam.py | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -163,13 +163,15 @@ 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 + #(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 \&') 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 + #(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 \&') return elif key == 53: #X self.destroy() |