I have process, that run multiple times child processes (each without GUI), and it needs to set to all child processes different "names" and "description" for Task Manager. Is it possible using Win API? I can't find solution for Windows family.
I look to WriteProcessMemory, but it looks like form of cheating, even if there is possible to change name. Solution with copying .exe file, run it, and after process finished - deleting it - is even more cheating. There may be exist solution using start process from memory (so, I load exe file to memory, then start it from there), but it also looks bad and I'm not sure I will be able to change name.
I hope there have to be solution to set process name to my own child process, isn't it?