I ended up going with this:
http://code.activestate.com/recipes/440554/
seems to feed me new lines of output atleast before the subprocess
finishes, with some adjustment of the time delays. I'll guess I'll
just be packing winpy into the installer. Or something.
--
Nate wrote:
Thanks for your response. Related to this talk about shells, maybe you
could point me towards a resource where I could read about how windows
commands are processed w/w/o shells? I guess I assumed all subprocess
commands were intepreted by the same thing, cmd.exe., or perhaps the
I get different behavior with os.system and subprocess (no surprise
there I guess), but I was hoping for some clarification, namely why.
If I type this directly into the command window:
java -Xms128M -Xmx512M -jar gmapcreator.jar -dfile=censettings.xml
mapoutput.txt
mapoutput.txt stores the
On Sun, Jun 21, 2009 at 10:12 AM, Natewalton.nathan...@gmail.com wrote:
I get different behavior with os.system and subprocess (no surprise
there I guess), but I was hoping for some clarification, namely why.
If I type this directly into the command window:
java -Xms128M -Xmx512M -jar
On Jun 21, 2:12 pm, Chris Rebert c...@rebertia.com wrote:
On Sun, Jun 21, 2009 at 10:12 AM, Natewalton.nathan...@gmail.com wrote:
I get different behavior with os.system and subprocess (no surprise
there I guess), but I was hoping for some clarification, namely why.
If I type this directly
Nate wrote:
gmapcreator = subprocess.Popen(java -Xms128M -Xmx512M -jar
gmapcreator.jar -dfile=censettings.xml, stdin=subprocess.PIPE,
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
Try this:
gmapcreator = subprocess.Popen(
[java, -Xms128M, -Xmx512M, -jar, gmapcreator.jar,
On Jun 21, 3:49 pm, Christian Heimes li...@cheimes.de wrote:
Nate wrote:
gmapcreator = subprocess.Popen(java -Xms128M -Xmx512M -jar
gmapcreator.jar -dfile=censettings.xml, stdin=subprocess.PIPE,
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
Try this:
gmapcreator = subprocess.Popen(
Nate wrote:
Thanks for your response. Related to this talk about shells, maybe you
could point me towards a resource where I could read about how windows
commands are processed w/w/o shells? I guess I assumed all subprocess
commands were intepreted by the same thing, cmd.exe., or perhaps the
In message mailman.1925.1245613790.8015.python-l...@python.org, Christian
Heimes wrote:
The subprocess doesn't use the shell ...
It can if you tell it to.
--
http://mail.python.org/mailman/listinfo/python-list