Think about Loose Coupling | |
PerlMonks |
Re: How do I change my program's name under ps? ($0='abc' is messed up)by rpc (Monk) |
on May 25, 2001 at 04:37 UTC ( [id://83188]=note: print w/replies, xml ) | Need Help?? |
This is because when the process is created, the first argument is allocated to be the size of the actual process name. Try appending a \0 to your fake process name.
In Section
Seekers of Perl Wisdom
|
|