From fb2cd41becad2167d5e34cdac55ad531774716a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Haoran=20S=2E=20Diao=20=28=E5=88=81=E6=B5=A9=E7=84=B6=29?= <0@hairydiode.xyz> Date: Fri, 12 Sep 2025 02:15:14 -0700 Subject: added an easy identifier to the output manager child process --- ptyim.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ptyim.c b/ptyim.c index f4e7c17..ab4ebe6 100644 --- a/ptyim.c +++ b/ptyim.c @@ -136,6 +136,8 @@ int main (int argc, char * argv[], char * envp[]) { //process just handles transfering pty output to stdout pid_t om_pid = fork(); if (om_pid == 0) { + //sets the name for cleaner ps output + prctl(PR_SET_NAME, "ptyim om thread"); //output manager child process //runs forever until SIGKILL'd while (true) { -- cgit v1.1