summaryrefslogtreecommitdiffstats
path: root/Under-Testing/Server-Code-New/startSoftware.py
diff options
context:
space:
mode:
Diffstat (limited to 'Under-Testing/Server-Code-New/startSoftware.py')
-rw-r--r--Under-Testing/Server-Code-New/startSoftware.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/Under-Testing/Server-Code-New/startSoftware.py b/Under-Testing/Server-Code-New/startSoftware.py
deleted file mode 100644
index b2beb58..0000000
--- a/Under-Testing/Server-Code-New/startSoftware.py
+++ /dev/null
@@ -1,21 +0,0 @@
-#! /usr/bin/env python
-import ServerClass
-import subprocess
-import setproctitle
-
-setproctitle.setproctitle('Start Software')
-while 1:
- # try connect to website
- server = ServerClass.ServerHandler(34600)
- tried = server.openSocket()
- test = server.receiveData(2)
- if test == 'START APP':
- print 'start'
- try:
- script = 'gsmselftest.py'
- subprocess.Popen(['python',script], shell=False, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
- except ValueError:
- print " - can't start controller software -"
- server.closeConnection()
- del server
-