RE: unwanted DOS window
- Posted by Al Getz <Xaxo at aol.com> Mar 17, 2001
- 536 views
lpcd at CYBER.NET.PK wrote: > Wolf ne keha, 5/3/01 5:34 AM per, ke: > > > If you are using win32lib ver. 0.55.1, you could use something like the > > following: > > > > object jk > > sequence current > > current=current_dir() > > jk=shellExecuteEx("open","notepad.exe","LogFile",current,SW_SHOWNORMAL,0) > > > > > > ... no DOS window here ! ... > > > > > > > > This is great and works well. However, it appears to work at its own > speed > and independently of the process which called it. Is there any way of > having > my program wait until the shelled process is complete? > > Bruce. > You could try creating an event object with the win api. That's used for synchronization, and the events are 'named' using lpcstr's that can be passed to another process. --Al