summaryrefslogtreecommitdiffstats
path: root/For Weekly Test/tricode/startSoftware.py
diff options
context:
space:
mode:
Diffstat (limited to 'For Weekly Test/tricode/startSoftware.py')
-rw-r--r--For Weekly Test/tricode/startSoftware.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/For Weekly Test/tricode/startSoftware.py b/For Weekly Test/tricode/startSoftware.py
new file mode 100644
index 0000000..bf36e0f
--- /dev/null
+++ b/For Weekly Test/tricode/startSoftware.py
@@ -0,0 +1,14 @@
+import ServerClass
+import subprocess
+
+while 1:
+ server = ServerClass.ServerHandler(34600)
+ tried = server.openSocket()
+
+ test = server.receiveData(2)
+ if test == 'START APP':
+ print 'start'
+ subprocess.Popen(args=['gnome-terminal','--command= python gsmselftest-website2.py'])
+ #print server.closeConnection()
+ del server
+