A typical scp transaction would result in an output as below:<br>-------------------------------------------------------<br>temp.conf&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 100%&nbsp;&nbsp; 23&nbsp;&nbsp;&nbsp;&nbsp; 0.0KB/s&nbsp;&nbsp; 00:00<br>-------------------------------------------------------<br>I am interested in capturing the above output in a string.<br><br><b><i>gnuyoga &lt;gnuyoga@gmail.com&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> KartheeK wrote:<br>&gt; Hi,<br>&gt;<br>&gt; I tried that too but it also  for some reasons fails to capture scp <br>&gt; output although it can capture
 things like ping.<br>&gt; command.getstatusoutput  returns exit code but not the string.<br><br>what do u mean by scp output ?<br><br>commands.getstatusoutput will give you output status  and message if any<br><br>if 0 means the command is executed sucessfully.<br>else it failed and reason why it failed will be returned.<br><br><br>please remember that we cannot see you monitor ;-)<br><br>- sree<br><br>-- <br>http://picasaweb.google.com/gnuyoga<br><br>Each soul is potentially divine. The goal is to manifest the divine by controlling nature, internal or external. Do this by work or worship or psychic control or philosophy by one or more, or all of these and be free.<br><br>_______________________________________________<br>BangPypers mailing list<br>BangPypers@python.org<br>http://mail.python.org/mailman/listinfo/bangpypers<br></blockquote><br>