Re: Getting subprocesses to be hidden on Windows

2007-09-02 Thread [david]
geoffbache wrote: As part of my efforts to write a test tool that copes with GUIs This is dead easy on UNIX with virtual displays like Xvfb. Can someone shed any light if it's possible on Windows Configure the virtual display first: http://en.wikipedia.org/wiki/Virtual_desktop

Re: Getting subprocesses to be hidden on Windows

2007-08-29 Thread kyosohma
On Aug 28, 1:13 pm, geoffbache [EMAIL PROTECTED] wrote: On 28 Aug, 18:18, Larry Bates [EMAIL PROTECTED] wrote: geoffbache wrote: Hi, As part of my efforts to write a test tool that copes with GUIs nicely, I'm trying to establish how I can start a GUI process on Windows that will

Re: Getting subprocesses to be hidden on Windows

2007-08-28 Thread geoffbache
On Aug 27, 11:28 pm, [EMAIL PROTECTED] wrote: On Aug 27, 3:21 pm, geoffbache [EMAIL PROTECTED] wrote: Hi, As part of my efforts to write a test tool that copes with GUIs nicely, I'm trying to establish how I can start a GUI process on Windows that will not bring up the window. So I

Re: Getting subprocesses to be hidden on Windows

2007-08-28 Thread kyosohma
On Aug 28, 4:08 am, geoffbache [EMAIL PROTECTED] wrote: On Aug 27, 11:28 pm, [EMAIL PROTECTED] wrote: On Aug 27, 3:21 pm, geoffbache [EMAIL PROTECTED] wrote: Hi, As part of my efforts to write a test tool that copes with GUIs nicely, I'm trying to establish how I can start a GUI

Re: Getting subprocesses to be hidden on Windows

2007-08-28 Thread kyosohma
On Aug 28, 8:59 am, geoffbache [EMAIL PROTECTED] wrote: Which GUI toolkit are you using? Tkinter, wxPython, pyQt? Primarily PyGTK, but I was hoping it wouldn't matter. I hope to be able to start the process as indicated in the original post from within my test tool and instruct the

Re: Getting subprocesses to be hidden on Windows

2007-08-28 Thread geoffbache
Which GUI toolkit are you using? Tkinter, wxPython, pyQt? Primarily PyGTK, but I was hoping it wouldn't matter. I hope to be able to start the process as indicated in the original post from within my test tool and instruct the subprocess to be hidden (or minimized? would that be easier?),

Re: Getting subprocesses to be hidden on Windows

2007-08-28 Thread Larry Bates
geoffbache wrote: Hi, As part of my efforts to write a test tool that copes with GUIs nicely, I'm trying to establish how I can start a GUI process on Windows that will not bring up the window. So I try to hide the window as follows: info = subprocess.STARTUPINFO() info.dwFlags |=

Re: Getting subprocesses to be hidden on Windows

2007-08-28 Thread geoffbache
OK, more background needed. I develop the TextTest tool which is a generic test tool that starts tested applications from the command line. The idea is that it can handle any system under test at all, whatever language it's written in. Preferably without requiring a bunch of changes to the tested

Re: Getting subprocesses to be hidden on Windows

2007-08-28 Thread geoffbache
On 28 Aug, 18:18, Larry Bates [EMAIL PROTECTED] wrote: geoffbache wrote: Hi, As part of my efforts to write a test tool that copes with GUIs nicely, I'm trying to establish how I can start a GUI process on Windows that will not bring up the window. So I try to hide the window as

Re: Getting subprocesses to be hidden on Windows

2007-08-28 Thread Roger Upole
geoffbache wrote: On 28 Aug, 18:18, Larry Bates [EMAIL PROTECTED] wrote: geoffbache wrote: Hi, As part of my efforts to write a test tool that copes with GUIs nicely, I'm trying to establish how I can start a GUI process on Windows that will not bring up the window. So I try to hide

Getting subprocesses to be hidden on Windows

2007-08-27 Thread geoffbache
Hi, As part of my efforts to write a test tool that copes with GUIs nicely, I'm trying to establish how I can start a GUI process on Windows that will not bring up the window. So I try to hide the window as follows: info = subprocess.STARTUPINFO() info.dwFlags |= subprocess.STARTF_USESHOWWINDOW

Re: Getting subprocesses to be hidden on Windows

2007-08-27 Thread kyosohma
On Aug 27, 3:21 pm, geoffbache [EMAIL PROTECTED] wrote: Hi, As part of my efforts to write a test tool that copes with GUIs nicely, I'm trying to establish how I can start a GUI process on Windows that will not bring up the window. So I try to hide the window as follows: info =