<commit_before>OneInstance
===========

Description
-----------

A Java library which can be used to prevent the launch of multiple
instances of an application. The first instance is informed about the launch
of a second one, can decide if the second instance is allowed to start and
also gets the command-line arguments of the second instance.

The communication between the application instances is done via a TCP socket
server which is started on the loop-back interface by the first instance. The
port is chosen automatically from the range 49152 to 65535. The port is
stored in the Java preferences so additional application instances know where
the first instance might be listening (If it is still running). The communication<commit_msg>Added information about working directory to description.<commit_after>OneInstance
===========

Description
-----------

A Java library which can be used to prevent the launch of multiple
instances of an application. The first instance is informed about the launch
of a second one, can decide if the second instance is allowed to start and
also gets the working directory and the command-line arguments of the second 
instance.

The communication between the application instances is done via a TCP socket
server which is started on the loop-back interface by the first instance. The
port is chosen automatically from the range 49152 to 65535. The port is
stored in the Java preferences so additional application instances know where
the first instance might be listening (If it is still running). The communication
{'fraction_non_alphanumeric': 0.045542014111610005, 'fraction_numerical': 0.012828736369467608, 'mean_word_length': 4.512367491166078, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6970074', 'n_tokens_mistral': 339, 'n_tokens_neox': 320, 'n_words': 235}