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.
There is no path to start, it's a built-in shell cmd. If you want to start it
asynchronously just use start's background method.
os.system("start /B command")
I use this all the time to launch things in the background and continue on my
merry way.
Bobby
-Original Message-
From: [EMAI
> 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 active
> 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 u
># 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 t