java - Using an empty file to have one application instance -


Perhaps there are other ways to do this, but I would like to use an empty file so that one application can run at a frequency This time the file will be created by creating a file when the application is launched and as soon as the other application instances it detects the file.

The problem with this approach is that if the file stops unexpectedly

"post-text" as itemprop = "text",>

one Tie with a high number port but do not listen, two programs can not bind with the same TCP port on the same machine. There is a lot of cross-platform, but to some extent, cools.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -