Re: [python-win32] Calling a subprocess with spaces in the path

2006-10-18 Thread Metz, Bobby W, WWCS
Google "subprocess Popen parameters" or "subprocess Popen arguments"...the first few hits should explain. B -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gabriel Genellina Sent: Wednesday, October 18, 2006 3:02 PM To: Axiom X11 Cc: python-win32@python.

Re: [python-win32] Win32com , how select coclass interface?

2006-10-18 Thread Mark Hammond
> I have a DLL that have several interfaces accociated > with a CoClass, but there is one default interface. > > snip from my genpy generated .py file: > -- > from win32com.client import CoClassBaseClass > # This CoClass is known by the name > 'BK.BasicEnv.Application.Re

Re: [python-win32] killProcName kinda slow

2006-10-18 Thread Mark Hammond
> I am trying to use the killProcName function in a project, and it does > work, but it is kinda slow. > > Just running it alone has the same effect > > > C:\>killProcName.py notepad > (wait for about 30 seconds) > Killed notepad > > > Is there any way to do this faster? Or is there another functi

Re: [python-win32] Calling a subprocess with spaces in the path

2006-10-18 Thread Gabriel Genellina
At Wednesday 18/10/2006 17:43, Axiom X11 wrote: I am trying to run a command as a subprocess, and it keeps choking on the spaces. import subprocess s = 'vlc "C:\\Documents and Settings\\bk\\Documents\\Resources\\WORKINPR2001.mpeg" :sout=\#duplicate{dst=display,dst=std{access=udp,mux=ts,d

[python-win32] Calling a subprocess with spaces in the path

2006-10-18 Thread Axiom X11
I am trying to run a command as a subprocess, and it keeps choking on the spaces. import subprocesss = 'vlc  "C:\\Documents and Settings\\bk\\Documents\\Resources\\WORKINPR2001.mpeg" :sout=\#duplicate{dst=display,dst=std{access=udp,mux=ts,dst=224.0.0.0:1234 }}  :sout=#duplicate{dst=display,dst=std{

Re: [python-win32] killProcName kinda slow

2006-10-18 Thread Tim Roberts
Axiom X11 wrote: >I am trying to use the killProcName function in a project, and it does >work, but it is kinda slow. > >Just running it alone has the same effect > >C:\>killProcName.py notepad >(wait for about 30 seconds) >Killed notepad > >Is there any way to do this faster? Or is there another

[python-win32] killProcName kinda slow

2006-10-18 Thread Axiom X11
I am trying to use the killProcName function in a project, and it does work, but it is kinda slow. Just running it alone has the same effect C:\>killProcName.py notepad (wait for about 30 seconds) Killed notepad Is there any way to do this faster? Or is there another function I should be call

[python-win32] Win32com , how select coclass interface?

2006-10-18 Thread e8micke
Hi! I have a DLL that have several interfaces accociated with a CoClass, but there is one default interface. snip from my genpy generated .py file: -- from win32com.client import CoClassBaseClass # This CoClass is known by the name 'BK.BasicEnv.Application.RemoteAPI' c