aMule Forum
English => Feature requests => Topic started by: errico2 on January 14, 2005, 10:03:19 AM
-
Hello all:
I'm trying to help in the development of amule, with something I need.
Because I run amuled, I need amuleweb running in order to access it from my windows pc. But if I do a 'ps ax' in my linux box i see:
14972 pts/0 S 0:00 amuleweb -q -pw mypassword
I want hide the password in order anybody can see it. I know how do it, but i can't found the place where amuled manage the arguments received from the command line.
Anybody can help me?
Regards, errico2.
-
errico2,
Use the -f parameter, and amuleweb will read the password from the file ~/.eMule, no need to specify it in the command line. Btw, the password is already there, no need to edit the file.
Cheers!
-
Well..............
It works. You are big...... :baby:
But, only for pride. Where amule manage the arguments ?. I'm not able to find it.
Regards, errico2
-
errico2,
What do you mean? In source code? amuleweb and amulecmd command line arguments are processed in ExternalConnector.cpp. Look for that line:
const wxCmdLineEntryDesc CaMuleExternalConnector::cmdLineDesc[8] =
There are also some options processed in TextClient.cpp and WebInterface.cpp. Look for "parser.Found".
For aMule, look in amule.cpp:
// Parse cmdline arguments.
wxCmdLineParser cmdline(AMULE_APP_BASE::argc, AMULE_APP_BASE::argv);
Hope that helps,
Cheers!