1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-12 09:17:41 +03:00

feature #863: make end of stderr tag more readable

This commit is contained in:
Javi Fontan 2011-11-24 18:35:30 +01:00
parent 93fbaab0c9
commit 1a15293903

View File

@ -17,6 +17,7 @@
require 'CommandManager'
require 'open3'
class SshStream
attr_reader :stream_out, :stream_err, :stdin
attr_reader :out, :err
@ -28,7 +29,7 @@ class SshStream
RC_STR = "ExitCode: "
SSH_RC_STR = "ExitSSHCode: "
EOF_CMD = "echo \"#{RC_STR}$?#{EOF_ERR}\" 1>&2; echo \"#{EOF_OUT}\""
EOF_CMD = "echo \"#{RC_STR}$? #{EOF_ERR}\" 1>&2; echo \"#{EOF_OUT}\""
SSH_CMD = "ssh"
#
#