Hey

  So im trying to write an irc bot for my clan but mostly just to train
my ruby skills a bit more.
  Anyhow some of the functions of the bot require to execute commands on
the server itself, managed to do fine using the backticks but every now
and then the bot just hangs because sometimes when deleting files, ie,
the OS asks for permission and waits for user input ... and it just
hangs there waiting.
Is there anyway to hack across this ?
I've tried open3 and open4 but the also hang when i request the stdout
of the command.
  The ideal would be to have full control of output and input via IRC :x

Thanks
-- 
Posted via http://www.ruby-forum.com/.