From: Adriana Draghici Date: Tue, 19 Jan 2010 11:17:43 +0000 (+0200) Subject: Server - daemon X-Git-Tag: getopt_long~221 X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=fc89e1ba896d2b306cc06d29a6bc8a09de2a7cb3;p=cs-p2p-next.git Server - daemon --- diff --git a/server/Server.py b/server/Server.py index e7bba46..6723520 100644 --- a/server/Server.py +++ b/server/Server.py @@ -6,15 +6,11 @@ import sys, time, os from daemon import Daemon def doServer(): - #fin = open("/home/adriana/t.txt", "rw"); - #print >> fin, "hello" os.spawnvp(os.P_NOWAIT,"/usr/bin/transmission",[]) - #fin.close() class MyDaemon(Daemon): def run(self): - # os.spawnvp(os.P_NOWAIT,"/usr/bin/transmission",[]) doServer() if __name__ == "__main__":