klausfpga schrieb:
> On Oct 29, 11:25 am, Rüdiger Ranft <_r...@web.de> wrote:
> Thanks Ruediger,
>
> I'll try that immediately tomorrow, when working again on a windows
> host.
>
> Good to know, that the Python API supports this.
> though this feature was not that easy to be found in the doc.
W
On Oct 29, 11:25 am, Rüdiger Ranft <_r...@web.de> wrote:
> klausfpga schrieb:
>
> > Hi,
>
> > I have a Python script which wants to start a subprocess and wait for
> > it to finish.
>
> > However I would like to have NO command window popping up during
> > execution.
>
> You need to specify the hid
On Thu, Oct 29, 2009 at 4:57 AM, Martin P. Hellwig
wrote:
> Chris Rebert wrote:
>
>>>
>>> Except for here:
>>> http://msdn.microsoft.com/en-us/library/ms682425%28VS.85%29.aspx
>>
>> I was referring to the following bits of the subprocess module used in
>> the above code:
>
> Me too actually :-)
>
Chris Rebert wrote:
Except for here:
http://msdn.microsoft.com/en-us/library/ms682425%28VS.85%29.aspx
I was referring to the following bits of the subprocess module used in
the above code:
Me too actually :-)
subprocess.mswindows
subprocess.STARTUPINFO()
subprocess.STARTF_USESHOWWINDOW
sub
On Thu, Oct 29, 2009 at 4:37 AM, Martin P. Hellwig
wrote:
> Chris Rebert wrote:
>>
>> On Thu, Oct 29, 2009 at 3:25 AM, Rüdiger Ranft <_r...@web.de> wrote:
>>>
>>> klausfpga schrieb:
Hi,
I have a Python script which wants to start a subprocess and wait for
it to finish.
>>>
Chris Rebert wrote:
On Thu, Oct 29, 2009 at 3:25 AM, Rüdiger Ranft <_r...@web.de> wrote:
klausfpga schrieb:
Hi,
I have a Python script which wants to start a subprocess and wait for
it to finish.
However I would like to have NO command window popping up during
execution.
You need to specify
On Thu, Oct 29, 2009 at 3:25 AM, Rüdiger Ranft <_r...@web.de> wrote:
> klausfpga schrieb:
>> Hi,
>>
>> I have a Python script which wants to start a subprocess and wait for
>> it to finish.
>>
>> However I would like to have NO command window popping up during
>> execution.
>
> You need to specify
klausfpga schrieb:
> Hi,
>
> I have a Python script which wants to start a subprocess and wait for
> it to finish.
>
> However I would like to have NO command window popping up during
> execution.
You need to specify the hide parameter for windows.
import subprocess
kwargs = {}
if subprocess.ms
Hi,
I have a Python script which wants to start a subprocess and wait for
it to finish.
However I would like to have NO command window popping up during
execution.
My main Python script is started with the .pyw suffix, thus I got rid
of the main console and I just see my GUI.
So far I tried
os.