On 19 July 2011 13:20, Johan Geldenhuys wrote:
It works fine for me in an interactive idle session.. Have you tried
this to see if works like this? Does the command work when run
directly from the command line?
> I am using pexpect in a script to SCP files to a inux server.
> Here is a snippet f
Resend in text format
Hi there all,
I am using pexpect in a script to SCP files to a inux server.
Here is a snippet from the code:
def doScp(self, user, password, host, path, files):
fNames = " ".join(files)
self.logger.log('Running command for %s' % fNames)
try: