Commit dc0d251e authored by Carl Hetherington's avatar Carl Hetherington

Fix startup of script on the robot.

parent dafb5917
...@@ -47,7 +47,7 @@ class TCPServer(SocketServer.TCPServer): ...@@ -47,7 +47,7 @@ class TCPServer(SocketServer.TCPServer):
print "Starting listener on EV3" print "Starting listener on EV3"
os.system('scp listen.py %s@%s:' % (EV3_USER, EV3_IP)) os.system('scp listen.py %s@%s:' % (EV3_USER, EV3_IP))
#os.system('ssh %s@%s -- nohup python3 listen.py %d &' % (EV3_USER, EV3_IP, EV3_PORT)) os.system('ssh %s@%s -- "nohup python3 listen.py %d > /dev/null 2>&1 &"' % (EV3_USER, EV3_IP, EV3_PORT))
print ('http://cs10.org/snap#open:http://localhost:1330/snap-ev3') print ('http://cs10.org/snap#open:http://localhost:1330/snap-ev3')
httpd = TCPServer(("", SNAP_PORT), Handler) httpd = TCPServer(("", SNAP_PORT), Handler)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment