Allow to copy full process command line (#33)
Based on #33 (closed). Let the process command line be copied through a new context menu entry, "Copy command line". The drawback is there is now another string that needs translation.
The case where a process dies while the context menu is being displayed can be tested by running sh -c 'sleep 3'
in a terminal, right-clicking the new process in the task manager, and waiting for it to finish and disappear from the list. The clipboard should not be modified when trying to copy the command line of a process that no longer exists.
I am not too familiar with using GTK+ from C, so if there is a better way to do this, I would be happy to hear.