From: Robert Klemme Date: 2010-06-19T01:08:36+09:00 Subject: Re: How to print exit status to a log file? 2010/6/18 Martin Hansen : > I would like to, for a given script, to print the exit status - such as > normal, interrupted, terminated, etc. to a log file. How can I do that? Not clear what you intend to do. Is the script a Ruby script? Then you do it with any process. Do you want to print the status of another program in a Ruby script? Where do you want to print that? Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/