|
From: | Charles Duffy |
Subject: | Re: [Duplicity-talk] Re: Problem with scp backend and --collection-status |
Date: | Tue, 29 May 2007 11:17:27 -0500 |
User-agent: | Thunderbird 2.0.0.0 (Windows/20070326) |
Kenneth Loafman wrote:
Yes, that has been a request for quite some time. Duplicity runs these as subprocesses and interactive access to the console from a subprocess is problematic, especially when dealing with Windows. What would be needed is an Expect-like package for Python that could interact with the subprocess to provide the password.
I make frequent use of pexpect [http://pexpect.sf.net/], though last I knew it didn't work on Windows (due to a dependency on the pty module).
The Bazaar-NG project, looking for a cross-platform way to do SFTP manipulation, ended up switching to a pure-Python SSH implementation, Paramiko [http://www.lag.net/paramiko/].
[Prev in Thread] | Current Thread | [Next in Thread] |