using subprocess.Popen does not suppress terminal window on Windows

Oscar Benjamin oscar.j.benjamin at gmail.com
Thu Sep 13 16:43:19 EDT 2012


On 13 September 2012 13:33, <janis.judvaitis at gmail.com> wrote:

> It looks like normal terminal to me, could You define normal?
>
> Looks like it appears only when target script prints something, but it
> shouldn't cus I'm using pipes on stdout and stderr.
>
> If anyone is interested I'm using function doPopen from here:
> http://code.google.com/p/mansos/source/browse/trunk/tools/IDE/src/helperFunctions.py
> --
> http://mail.python.org/mailman/listinfo/python-list
>

I asked about the terminal window since you mentioned that it pops up under
linux which would suggest you're not having the usual Windows console/gui
problem.

In any case, have you tried this:
http://code.activestate.com/recipes/409002-launching-a-subprocess-without-a-console-window/

Oscar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120913/2d974405/attachment.html>


More information about the Python-list mailing list