RE: subprocess running ant

2011-03-03 Thread Nobody
On Thu, 03 Mar 2011 13:27:34 -0500, Thom Hehl wrote: > Actually, I just figured out the issue is that I need to run ant.bat > instead of just ant. :( Add shell=True to the Popen() call. -- http://mail.python.org/mailman/listinfo/python-list

Re: subprocess running ant

2011-03-03 Thread Chris Rebert
> From: MRAB > On 03/03/2011 18:14, Thom Hehl wrote: >> I am attempting to write a python script that will check out and build >> our code, then deploy the executable. It will report any failures via >> e-mail. >> >> To this end, I'm trying to run my ant build from inside of python. I >> have tried

Re: subprocess running ant

2011-03-03 Thread Benjamin Kaplan
On Mar 3, 2011 1:19 PM, "Thom Hehl" wrote: > > I am attempting to write a python script that will check out and build our code, then deploy the executable. It will report any failures via e-mail. > > > > To this end, I’m trying to run my ant build from inside of python. I have tried the following:

RE: subprocess running ant

2011-03-03 Thread Thom Hehl
ounces+thom=pointsix@python.org] On Behalf Of MRAB Sent: Thursday, March 03, 2011 1:25 PM To: python-list@python.org Subject: Re: subprocess running ant On 03/03/2011 18:14, Thom Hehl wrote: > I am attempting to write a python script that will check out and build > our code, then deploy the

Re: subprocess running ant

2011-03-03 Thread MRAB
On 03/03/2011 18:14, Thom Hehl wrote: I am attempting to write a python script that will check out and build our code, then deploy the executable. It will report any failures via e-mail. To this end, I’m trying to run my ant build from inside of python. I have tried the following: proc = subpro