Hi
I have a python script which launches a number of C++ programs, each program is passed a command line parameter as shown below
process_path "~/test/"
process_name "test"
num_process = 10
for p in range(1, num_processes, 1):
subprocess.Popen([process_path + process_name, str(p)], shell = False)
Is it possible to us setproctitle to rename each of these process so that I could include the command line parameter as part of the process name, if so , how would you do it?
Thanks