[python-win32] running windows 'start' cmd using spawnl

2006-08-23 Thread Tor Erik Sønvisen
Hi, I need to start a program in a new cmd-window. To do this I need to execute: start [command] With os.system this is straight-forward. But I need to do it with spawnl and P_NOWAIT. I.e, asynchronously. The problem is that I need to know the path where start resides, which I'm unable to find.

[python-win32] Re: New to Python from Perl

2006-08-23 Thread Roger Upole
Hey all I am learning Python and having a fun time doing so. I have a question for y'all, it has to do with active directory. I want to get the last login for a computer from Active Directory. I am using the active_directory module and here is my code. [START] import

[python-win32] Re: running windows 'start' cmd using spawnl

2006-08-23 Thread Roger Upole
Hi, I need to start a program in a new cmd-window. To do this I need to execute: start [command] With os.system this is straight-forward. But I need to do it with spawnl and P_NOWAIT. I.e, asynchronously. The problem is that I need to know the path where start resides, which I'm unable

[python-win32] Re: FrontPage COM Object Events

2006-08-23 Thread Roger Upole
# Hi # I want to get events of FrontPage Web and Page object models with this code. # OnPageNew and OnActivate works properly but when I click on the page nothing happen. # I know that I want to get events of two different COM objects. # But I don't know how can I do that. # (I run this