Important: Please read the Qt Code of Conduct -

How to naming av started process to distinguish from others

  • Hi all,

    I'm creating a GUI application that communicate with other processes through pipes (FIFO)
    Now I solved how to observe the pipe for changes through incapsulating inotify in a class.

    Making this more generic give me more usage options, leading to more started processes with the same display name, when listing all processes with ps.

    Is there a way for me to give every process that I run a distinguished name like pipeobserver, backupobserver aso. ??

    My purpose is to be able to kill (-9, pid) the correct process, intended to use QMap <QString name, int pid) to keep track of them


Log in to reply