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

    /a


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.