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 18:58:23 (GMT)
committer Nat <natcl@hotmail.com>2007-06-26 18:58:23 (GMT)
commitce7ac2bd476f55c4e5763673288277924f10b6db (patch)
treeeb61cbc26c2534b98281ba16838731a78bda8771 /TamTam.py
parent9f880f31821be6a2f98aa27634eab32e6cdcb446 (diff)
Execl
Diffstat (limited to 'TamTam.py')
-rwxr-xr-xTamTam.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/TamTam.py b/TamTam.py
index 36b51fe..6d82763 100755
--- a/TamTam.py
+++ b/TamTam.py
@@ -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()