470,591 Members | 1,571 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,591 developers. It's quick & easy.

Help replacing os.system call with subprocess call

Hi. I am trying to replace a system call with a subprocess call. I have
tried subprocess.Popen and subprocess.call with but have not been
successful. The command line would be:

svnadmin dump /my/repository svndump.db

This is what I am using currently:

os.system('svnadmin dump %s %s' % (svn_dir,
os.path.join(backup_dir, 'svndump.db')))

Many thanks.
Apr 7 '08 #1
0 976

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.