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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top