Hi Tate,

> So I'm attempting the following process in windows 7
> 
> test = subprocess.call(["python","s3cmd","sync", "C:\file","S3://bucket/"])
> 
> I've tried the following and it worked, (but the terminal quickly closed
> following the print)
> 
> test = subprocess.call(["python","s3cmd","ls", "S3://bucket"])

try subprocess.communicate() to retrieve the stdout and strerr output
into python variables in your script. That should help you find out what
is going on in the subprocess and what the problem eventually is.

Michal

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general

Reply via email to