How to limit program can only run one instance.

  • Thread starter Thread starter Boki Digtal
  • Start date Start date
There is another reason to avoid this... sometimes the process name
isn't what you think it is... for instance, 1.1 "zero touch"
deployments (over the web) run in a hosting shell process - which
means that your app would refuse to work if anything else (unrelated)
was being hosted in the same way.

I'd stick with a named mutex myself...

Marc
 
Back
Top