tag:blogger.com,1999:blog-2797923531103204252.post-61692526652120407872007-10-26T00:00:00.000+02:002007-10-29T23:49:27.390+01:002007-10-29T23:49:27.390+01:00Set process name in pythonHow to set process name from inside it? I know that nmap can fake name, but the question is how to do this from python. The code that is doing this magic in nmap:# from nmap.cc if (quashargv) { size_t fakeargvlen = strlen(FAKE_ARGV), argvlen = strlen(argv[0]); if (argvlen < fakeargvlen) fatal("If you want me to fake your argv, you need to call the program with a longer name. Try majeknoreply@blogger.com2