From: Brian Candler Date: 2009-05-17T05:36:39+09:00 Subject: Re: $0 is truncated Yukihiro Matsumoto wrote: > [ ] it's OK (for you) that $0 is not always corresponding to process > name read by ps etc.; in this case if you set $0 longer than the > limit, $0 will be updated but the proc title will be truncated to > the limit. Yes, that would be my preferred option. I don't mind whether $0 is frozen. Actually, I wrote $0 = ... originally, and only changed it to $0.replace(...) as a workaround. Regards, Brian. -- Posted via http://www.ruby-forum.com/.