python backup script

Enrico 'Henryx' Bianchi henryx_b at yahoo.it
Mon May 6 17:48:44 EDT 2013


Enrico 'Henryx' Bianchi wrote:

> cmd2 =  subprocess.Popen(['gzip' '-c'],
> shell=False,
> stdout=filename)

Doh, my fault:

cmd2 = subprocess.Popen(['gzip' '-c'],
                        shell=False,
                        stdout=filename
                        stdin=cmd1.stdout)

Enrico



More information about the Python-list mailing list