Re: supplying password to subprocess.call('rsync ...'), os.system('rsync ...')

2007-10-09 Thread timw.google
On Oct 7, 1:01 pm, Michael Torrie <[EMAIL PROTECTED]> wrote: > timw.google wrote: > > Hi > > > I want to write a python script that runs rsync on a given directory > > and host. I build the command line string, but when I try to run > > subprocess.call(cmd), or p=subprocess.Popen(cmd, shell=True),o

Re: supplying password to subprocess.call('rsync ...'), os.system('rsync ...')

2007-10-07 Thread Nicholas Bastin
On 05 Oct 2007 16:23:50 GMT, Stargaming <[EMAIL PROTECTED]> wrote: > On Fri, 05 Oct 2007 08:37:05 -0700, timw.google wrote: > >> I can't ssh w/o supplying a password. That's the way the security is > >> set up here. > >> > >> How do I use python to do this, or do I just have to write a zsh > >> scr

Re: supplying password to subprocess.call('rsync ...'), os.system('rsync ...')

2007-10-07 Thread Michael Torrie
timw.google wrote: > Hi > > I want to write a python script that runs rsync on a given directory > and host. I build the command line string, but when I try to run > subprocess.call(cmd), or p=subprocess.Popen(cmd, shell=True),or > os.system(cmd), I get prompted for my login password. I expected t

Re: supplying password to subprocess.call('rsync ...'), os.system('rsync ...')

2007-10-07 Thread David
Typo. > Another method is to setup an ssh service on the server (perhaps in Should be: > Another method is to setup an rsync service on the server (perhaps in -- http://mail.python.org/mailman/listinfo/python-list

Re: supplying password to subprocess.call('rsync ...'), os.system('rsync ...')

2007-10-07 Thread David
On 10/5/07, timw.google <[EMAIL PROTECTED]> wrote: > Hi > > I want to write a python script that runs rsync on a given directory > and host. I build the command line string, but when I try to run > subprocess.call(cmd), or p=subprocess.Popen(cmd, shell=True),or > os.system(cmd), I get prompted for

Re: supplying password to subprocess.call('rsync ...'), os.system('rsync ...')

2007-10-06 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, timw.google wrote: > I want to write a python script that runs rsync on a given directory > and host. I build the command line string, but when I try to run > subprocess.call(cmd), or p=subprocess.Popen(cmd, shell=True),or > os.system(cmd), I get prompted for my log

Re: supplying password to subprocess.call('rsync ...'), os.system('rsync ...')

2007-10-05 Thread Stargaming
On Fri, 05 Oct 2007 08:37:05 -0700, timw.google wrote: > On Oct 5, 10:33 am, "timw.google" <[EMAIL PROTECTED]> wrote: >> Hi >> >> I want to write a python script that runs rsync on a given directory >> and host. I build the command line string, but when I try to run >> subprocess.call(cmd), or p=s

Re: supplying password to subprocess.call('rsync ...'), os.system('rsync ...')

2007-10-05 Thread timw.google
On Oct 5, 10:33 am, "timw.google" <[EMAIL PROTECTED]> wrote: > Hi > > I want to write a python script that runs rsync on a given directory > and host. I build the command line string, but when I try to run > subprocess.call(cmd), or p=subprocess.Popen(cmd, shell=True),or > os.system(cmd), I get pro