Process

  • Thread starter Thread starter SnakeS
  • Start date Start date
S

SnakeS

Hi,
I want say if exist an Event that find out when a process has start.

For example with task manager, when a new process has start , it come update
into list.

Thanks.
 
SnakeS,

Once you have a specific Process object, you just drop into a while loop
checking the HasExited and Responding properties until you determine that
the process is either exited or hung.

There are also public events on the Process object: Exited,
ErrorDataReceived and OutputDataReceived, that could be tied in to.

--Bob
 
Back
Top