By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,171 Members | 776 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,171 IT Pros & Developers. It's quick & easy.

Help replacing os.system call with subprocess call

P: n/a
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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.