1
12345678 123456789
Is there any way to set the application name or process name that
appears in task manager for a program?
appears in task manager for a program?
Is there any way to set the application name or process name that
appears in task manager for a program?
--=20[ruby-1.8.6] :Users/rab $ ruby -e '$0=3D"Here I am\0";sleep 60' & ps ww
[1] 70676
=C2=A0PID =C2=A0 TT =C2=A0STAT =C2=A0 =C2=A0 =C2=A0TIME COMMAND
62343 s000 =C2=A0S+ =C2=A0 =C2=A0 0:00.28 -bash
70613 s001 =C2=A0S =C2=A0 =C2=A0 =C2=A00:00.12 -bash
70676 s001 =C2=A0R =C2=A0 =C2=A0 =C2=A00:00.00 Here I am
But you do need to include the NUL at the end "\0" I believe.
Should this survive a 1.8.7 fork?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.