Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning PID's from TASKMGR
Message
From
05/06/2001 02:18:49
 
 
To
04/06/2001 19:49:57
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00514900
Message ID:
00514956
Views:
14
>I need some help! I have a client/server application where users can submit jobs to run in background(on the server). The application running on the server has to have a way to control the number of executes that fire. I am trying to come up with a way to interrogate the TASKMGR on the server and return the PID of the instances of the executes and be able to discern when an execute finishes so I can control the number of executes. At present a shell execute is used to fire the secondary exe. I can only see a status value of the shell execute and not the PID. If anyone out there has had a similar need and has a solution, I would greatly appreciate a heads up on how this can be done.

Don't know if it would help in your case, but you could take a look at Ed Rauh's API_APPRUN available here in the downloads section.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform