Need assistance with the pexpect module
I have written a simple code which would clone a git repository from a server using ssh. I\'m facing couple of problems.
To get rid of the password being echo'd to stdout, use the following when redirecting output -
p.logfile_read = sys.stdout # logs out the command
I have tried this myself and seems to be working. Here is the reference for this revelation.