2010/6/18 Martin Hansen <mail / maasha.dk>:
> 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/