From a5a3c9b490fcc1f0c056b79ae5eaf93b3ccd7e18 Mon Sep 17 00:00:00 2001 From: Marius Sandu-Popa Date: Fri, 19 Mar 2010 15:37:44 +0200 Subject: [PATCH] modified commander --- bt_comm/client/Client.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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") -- 2.20.1