From: Rob Biedenharn Date: 2010-05-21T23:17:54+09:00 Subject: Re: Application Name / Process Name On May 21, 2010, at 9:55 AM, 12345678 123456789 wrote: > Is there any way to set the application name or process name that > appears in task manager for a program? > -- > Posted via http://www.ruby-forum.com/. > $0 = "This is my program\0" But you might have trouble if you want to set the name to something longer than the original program + args. (I.e., $0.length You can also run into trouble if a process monitor (e.g., monit) is relying on the process name. -Rob Rob Biedenharn http://agileconsultingllc.com Rob@AgileConsultingLLC.com http://gaslightsoftware.com rab@GaslightSoftware.com