Re: How to hide console with Popen on Windows?

2012-05-22 Thread xliiv
On Tuesday, May 22, 2012 2:45:11 AM UTC+2, alex23 wrote: On May 22, 3:00 am, xliiv tymoteusz.jankow...@gmail.com wrote: Now I know that my 'solution' is not a solution and problem still bugs me. Any ideas how to deal with it? I haven't tried it but this thread talks about being able to use

Re: How to hide console with Popen on Windows?

2012-05-21 Thread xliiv
On Monday, May 21, 2012 6:38:34 AM UTC+2, alex23 wrote: On May 18, 6:22 pm, xliiv tymoteusz.jankow...@gmail.com wrote: Like the topic, more details in followed links.. http://stackoverflow.com/questions/10637450/how-to-hide-console-with-... Try replacing all of your code with something

Re: How to hide console with Popen on Windows?

2012-05-21 Thread alex23
On May 22, 3:00 am, xliiv tymoteusz.jankow...@gmail.com wrote: Now I know that my 'solution' is not a solution and problem still bugs me. Any ideas how to deal with it? I haven't tried it but this thread talks about being able to use a standard install of Python with OpenOffice:

Re: How to hide console with Popen on Windows?

2012-05-20 Thread alex23
On May 18, 6:22 pm, xliiv tymoteusz.jankow...@gmail.com wrote: Like the topic, more details in followed links.. http://stackoverflow.com/questions/10637450/how-to-hide-console-with-... Try replacing all of your code with something simple, a 'pass' op will do. Run the script again. Does the

Re: How to hide console with Popen on Windows?

2012-05-18 Thread Chris Angelico
On Fri, May 18, 2012 at 6:22 PM, xliiv tymoteusz.jankow...@gmail.com wrote: Like the topic, more details in followed links.. http://stackoverflow.com/questions/10637450/how-to-hide-console-with-popen-on-windows As you've already been advised, the way to avoid a console is to use pythonw.exe

Re: How to hide console with Popen on Windows?

2012-05-18 Thread Kevin Walzer
On 5/18/12 4:22 AM, xliiv wrote: Like the topic, more details in followed links.. http://stackoverflow.com/questions/10637450/how-to-hide-console-with-popen-on-windows http://code.activestate.com/recipes/409002-launching-a-subprocess-without-a-console-window/?c=14452 Please help :( Any hint

Re: popen on windows

2007-01-02 Thread hubritic
Thanks for your reply. I figured it out. I was not closing the file that path pointed to before executing the command. D'oh! So sometimes it read the file that was created on the previous test run ... Anyway, for the benefit of anyone who might be googling for a similar question, what seems to

Re: popen on windows

2006-12-29 Thread Daniel Klein
On 27 Dec 2006 09:16:53 -0800, hubritic [EMAIL PROTECTED] wrote: I am trying to set off commands on Windows 2003 from python. Specifically, I am trying to use diskpart with a script file (pointed to with path). cmd = [diskpart, /s, path] p = Popen(cmd, shell=True) The

popen on windows

2006-12-27 Thread hubritic
I am trying to set off commands on Windows 2003 from python. Specifically, I am trying to use diskpart with a script file (pointed to with path). cmd = [diskpart, /s, path] p = Popen(cmd, shell=True) The script is meant to loop through twice. It will do so if I comment