Page 1 of 1

structure of com object

Posted: Thu Mar 31, 2005 1:37 pm
by tores
Hello

can anyone tell me what the stucture of the com objects look like.

I am running a python script in the background of my php script, but I need some way of controlling it. It is necessary to be able to kill the python script, so it would be nice if I knew which pid to kill

my code looks like this:

Code: Select all

$WshShell = new COM("WScript.Shell");
$oExec = $WshShell->Run('python script.py', 3, false);
regards tores