Ruby Gurus, I am using backticks in my ruby script to run DOS commands, but cannot figure out how to separate the stdin from stderr. Please see transcript below for what I am trying to do: -------------- begin transcript ------------- C:\>dir z Volume in drive C is LOCAL Volume Serial Number is AC53-D8CC Directory of C:\ File Not Found C:\>ruby -ve 'puts `dir z`' ruby 1.7.2 (2002-06-03) [i386-mswin32] File Not Found Volume in drive C is LOCAL Volume Serial Number is AC53-D8CC Directory of C:\ ----------- end transcript ----------------- Notice how, when I use Ruby, the stderr message "File Not Found" shows up first and then stdin msgs. How do I separate the two streams? TIA, -- Shanko __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com