PDA

View Full Version : Create a process a being notified when it stops



Markeen
December 20th, 2002, 08:05 AM
I created a plugin which allows girder to create a process and be notified when it stops.

If anyone is interested here is the complete source code as well as the binary.

wom
December 20th, 2002, 12:57 PM
Could this be used for my problem? http://www.girder.nl/phpBB2/viewtopic.php?p=17130#17130

Markeen
December 21st, 2002, 12:25 AM
Mmmh... I don't see how my plugin can be of any use for you... but maybe I don't understand your problem.

Here is how ProcessCreate works:
0- Put ProcessCreate.dll int the girder plugin directory (obvious)
1- Activate it in the options (obvious)
2- Create a command and associate it with ProcessCreate (in the 'Plugin' tab)
3- Select the program to launch by pressing the 'Settings' button (in the 'Plugin' tab)
4- Execute the command (it will launch the program)
5- Press the 'Learn Event' button
6- ...and when the launched program is stopped ProcessCreate will send an event to girder (the full path name of the launched application)

I use ProcessCreate to launch an application which uses the COM port. So I make girder free the COM port then launch my app, I then can use this app and make girder re-enable the COM port when the app closes.

Bitmonster
December 21st, 2002, 07:52 AM
There is no dialog coming up, when I press the Settings button.
I use Girder 3.2.6b and WinXPpro.

Bitmonster

Bitmonster
December 21st, 2002, 09:13 AM
EDIT:

The dialog is there, but it was hidden by other app-windows, because it is not forced to be the frontmost. Further presses to the Settings button opened new dialogs, but all behind other applications, even if girder is the frontmost.

Bitmonster

pala
January 19th, 2003, 09:00 AM
Hi,

I Would love to use this plugin, which is exactly what I was looking
for. But I can't figure out where to download it.

It doesn't seem to be in the plugin download page.

Daniel