kazaam wrote:

> I don't know exactly what you mean. Normally --buildpkg is verbos-mode 
> like, so when it fails it's normally printed on the screen. With the two 
> methods mentioned above I also have output for progress and success/error 
> on the screen. system() is not supressing any errors. They are normaly 
> printed on the screen, so system() always makes verbose messages or do you 
> mean something else?

system('') will print the output "on the screen", meaning to the console.

>>     response = `run ... --verbose-or-whatever ...`

Backticks, ``, will return the output to your program as a string.

>> Now use Rexexp to interpret the response and detect success or failure.

-- 
  Phlip
  http://www.oreilly.com/catalog/9780596510657/
  "Test Driven Ajax (on Rails)"
  assert_xpath, assert_javascript, & assert_ajax