summaryrefslogtreecommitdiffstats
path: root/pyLoadCli.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-06-21 15:10:23 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-06-21 15:10:23 +0200
commit6f8da9534efd4b3833a77a10bff9d009a84dcf80 (patch)
tree05c2f51f1fa10aadc4ca930f307b1b1d21ebd22a /pyLoadCli.py
parentcleaned rslayer plugin (diff)
downloadpyload-6f8da9534efd4b3833a77a10bff9d009a84dcf80.tar.xz
Änderung: 1564:40817b13d8b3
Zweig: dev Marke: tip Nutzer: Cptn_Sandwich Datum: Tue Jun 21 14:02:50 2011 +0200 Zusammenfassung: use process names on linux instead of "python"
Diffstat (limited to 'pyLoadCli.py')
-rw-r--r--pyLoadCli.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pyLoadCli.py b/pyLoadCli.py
index fd5bfbc1c..92d382db1 100644
--- a/pyLoadCli.py
+++ b/pyLoadCli.py
@@ -42,6 +42,7 @@ from module.utils import formatSize, decode
import ConfigParser
from module.remote.thriftbackend.ThriftClient import ThriftClient, NoConnection, NoSSL, WrongLogin, ConnectionClosed
from module.lib.Getch import Getch
+from module.lib.rename_process import RenameProcess
class Cli:
def __init__(self, client, command):
@@ -427,6 +428,7 @@ def writeConfig(opts):
print _("Couldn't write user config file")
if __name__ == "__main__":
+ RenameProcess('pyLoadCli')
config = {"addr": "127.0.0.1", "port": "7227", "language": "en"}
try:
config["language"] = os.environ["LANG"][0:2]