From: Brad Tilley Date: 2006-11-09T04:17:08+09:00 Subject: windows commands and error handling I am attempting to handle windows native command errors within a Ruby script on windows xp. Commands in backticks like `net use ...` do not allow for this. I tried open3, but it is unsupported on windows because of the lack of fork. system() does not do anything either. How do others handle this on windows? I only want to use the core Ruby library, not win32 utils. begin `windows command` rescue SomeException => e do this to handle this exception... rescue SomeOtherException => do this for the other exception... end Thank you, Brad