Some rejects (if I may):
Nobody wants RPC credentials in cleartext in the process list. Users who explicitly run an RPC server should always set the parameters in config.json
. Have your software look up these credentials from that file and use 'em.
No reason passing usernames and passwords in cleartext from commandline.