Skip to content

NSM announce pid #28

@grammoboy2

Description

@grammoboy2

It's interesting that you created a terminal application that works with NSM, I didn't realize that it was possible.

But it also raises a question, which pid should you announce with. The NSM server launches the NSM client and needs to manage it's pid (SIGTERM). In the case of adljack, the announced pid differs from the pid of the process which is started and controlled by the NSM server.
Houston4444/RaySession#16 (comment)

Do I understand it correctly that the NSM server actually starts a terminal, not adljack directly? And shouldn't adljack announce with the pid of that terminal process and so the NSM server can kill that terminal process when stopping adljack?

I think the announced pid of adljack should be the same as the process that is started by the NSM server, otherwise we can't be 100% certain that the server is killing the right pid, if it uses the by adljack announced pid. At least, that is how I understand it.

https://mywiki.wooledge.org/ProcessManagement?highlight=%28processes%29#PIDs_and_parents

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions