diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-07-31 20:51:57 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-07-31 20:51:57 +0200 |
| commit | e556b2cbbe5878c33d9e7302e637cc7f35dd14bf (patch) | |
| tree | ae42303d29a2d9c0332f5560953ad4f9eb2145ee /apt/debfile.py | |
| parent | d3832ab4faf69d8e8e0a0e14b159514505031231 (diff) | |
| download | python-apt-e556b2cbbe5878c33d9e7302e637cc7f35dd14bf.tar.gz | |
apt/progress: Large update, introducing apt.progress.base.InstallProgress.
This contains many updates including the introduction of a new InstallProgress
class which replaces the old InstallProgress and DpkgInstallProgress classes.
Diffstat (limited to 'apt/debfile.py')
| -rw-r--r-- | apt/debfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt/debfile.py b/apt/debfile.py index e05233f4..fd6c1532 100644 --- a/apt/debfile.py +++ b/apt/debfile.py @@ -417,7 +417,7 @@ class DebPackage(object): def install(self, install_progress=None): """Install the package.""" if install_progress is None: - return os.system("dpkg -i %s" % self.filename) + return os.spawnlp(os.P_WAIT, "dpkg", "dpkg", "-i", self.filename) else: try: install_progress.start_update() |
