search for: uzer

Displaying 1 result from an estimated 1 matches for "uzer".

Did you mean: user
2008 Oct 20
0
CGI and NET::SSH in the same script problems
...------------- ruby cgi script --------------------------------- require ''cgi'' require ''rubygems'' require ''net/ssh'' def do_sync_cmd( session, command ) session.open_channel do |channel| channel.env("PATH", "/usr/pbs/bin:/acct/uzer/test/bin") channel.exec("#{command}") do |ch, success| abort @myString.concat("could not execute #{command}") unless success channel.on_data do |ch, data| @myString.concat("cmd=>[#{command}] got stdout: \n#{data}") channel.send_da...