On Thu, Dec 9, 2010 at 11:23 AM, Sebastian Schoellhammer <
[email protected]> wrote:
>
> When I run another program using subprocess a cmd window is popping up for
> as long as it runs.
> It's rather annoying as I call * a lot * of them in batch so I wondered if
> there is a way to suppress that behavior.
>
Here is how I call it:
subprocess.Popen("prman -Progress",
shell=True,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
With shell=True Widows will not show cmd.exe window, not sure if pipe for
stdout and stderr is required though.
--
http://groups.google.com/group/python_inside_maya