safely determining whether ProcessWrapper process is running

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

safely determining whether ProcessWrapper process is running

Peter Uhnák
Hi,

I feel like I am missing something obvious, but is there a _safe_ way to test if PW is still running?

If the process pointer for whatever reason is no longer valid (e.g. the image crashed / I closed image), then #isRunning results in crashing the image. Maybe this is a bug?

Thanks,
Peter