A Place for my head

On Ruby, Rails, Concurrency and fiction

Posted in : ruby | 1 comment

Whoa, how stupid. All you have to do is:

1
2
if((pid = fork()).nil?)
  $0 = "ruby #{worker_klass.worker_name}"

One Response to 'Setting Process name in Ruby'

Subscribe to comments with RSS or TrackBack to 'Setting Process name in Ruby'.

  1. I’ve been following your blog for 5 days now and I should tell you I get tons benefits from your post. and now how I can get news update from your blog?

    Olin Bierley

    18 Apr 10 at 2:14 am

Leave a Reply