Scenario:
executable which calls another executable ex. nodejs cmd line tools like webtorrent-cli which spawn "node webtorrent.js"
result:
process.name() = node
by calling /proc/pid/comm we receive "WebTorrent"
How about using that as a process.name()? It would provide valuable info to the user - instead of a bunch of node/java processes we would see the tool name which invoked them.
I can do the development if you would accept such an enhancement.
P.S. Cool library, thanks for developing it.