getProcessid( one program from another program);

adimallee
adimallee used Ask the Experts™
on
hi,

My doubt is as follows.
Let us suppose a program(prgm 1) is executing in an infinite while loop. Now from another program (prgm 2) we should get the process id of prgm 1 which is already executing.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
you would need to enumerate all running processes and look at the module filename to determine which is the process you are interested in. you do have a problem if more than once instance is running...

what platform are you on?

Commented:
Dear expert(s),

A request has been made to close this Q in CS:
http://www.experts-exchange.com/Community_Support/CleanUp/Q_20442410.html

Without a response in 72 hrs, a moderator will finalize this question by:

 - Saving this Q as a PAQ and refunding the points to the questionner

When you agree or disagree, please add a comment here.

Thank you.

modulo

Community Support Moderator
Experts Exchange
Commented:
Saving this Q as a PAQ and refunding the points to the questionner

modulo

Community Support Moderator
Experts Exchange

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial