|
From: | edgar . soldin |
Subject: | [Duplicity-talk] (rsync) backend modificatons |
Date: | Sun, 09 May 2010 18:11:14 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 |
When working on it I didn't like the way of rsync failing without proper error message because the STDERR was not captured in backend.py:run_command. backend.py:popen doesn't do that as well. Therefor I'd really like to introduce backend.py:subprocess_popen which utilizes the "modern" way to execute shell programs. Unfortunately this was introduced in python 2.4. My plan is now to change backend.py:run_command(_persist) into backend.py:run_command(_persist)_legacy and to add new run_command functions that conditionally use subprocess_popen for python > 2.3 or stick to the legacy methods for python < 2.4. Is this fine for you Ken? ..ede
[Prev in Thread] | Current Thread | [Next in Thread] |