From: Marius Sandu-Popa Date: Fri, 19 Mar 2010 13:37:44 +0000 (+0200) Subject: modified commander X-Git-Tag: getopt_long~129 X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=a5a3c9b490fcc1f0c056b79ae5eaf93b3ccd7e18;p=cs-p2p-next.git modified commander --- diff --git a/bt_comm/client/Client.py b/bt_comm/client/Client.py index e374a66..e2b6d64 100644 --- a/bt_comm/client/Client.py +++ b/bt_comm/client/Client.py @@ -74,8 +74,9 @@ class Commander(Thread): return msg def startDaemon(self, node): - comm = "PYTHONPATH=/home/p2p/cs-p2p-next/bt_comm:/home/p2p/cs-p2p-next/bt_comm/start-clients/ python /home/p2p/cs-p2p-next/bt_comm/server/Server.py start" - + print node.daemon_dir + comm = "PYTHONPATH=/home/p2p/cs-p2p-next/bt_comm:/home/p2p/cs-p2p-next/bt_comm/start-clients/ python /home/p2p/cs-p2p-next/bt_comm/server/Server.py start " + node.public_address + " " + node.listen_port + print comm #self.printDummyCommand(node.public_address, node.public_port, node.ssh_port, comm) self.sendSSHComm(node.public_address, node.username, int(node.ssh_port), comm) self.sendSSHComm(node.public_address, node.username, int(node.ssh_port), "ps -ef | grep Server")