Program duplicate execution problem.
Posted: Tue Nov 12, 2024 2:10 am
The program I created uses Mutex to prevent duplicate execution.
The CEF4Delphi I used before used v86, and I updated to v130 a few days ago.
After that, when I execute the program repeatedly, a Chrome window like the one below opens externally.
This phenomenon did not occur in previous versions.
The same phenomenon occurs when I execute programs such as MiniBrowser or SimpleBrowser in the demo repeatedly.
I did not give the NoSandbox option to the binary path option, and even if I set this option, the same thing happens.
In the MainProcess method, only the Chrome window opens and does not follow the duplicate execution prevention routine I created, and in the SubProcess method, the Chrome window opens and also follows the duplicate execution prevention routine I created.
How can I prevent this Chrome window from opening?

The CEF4Delphi I used before used v86, and I updated to v130 a few days ago.
After that, when I execute the program repeatedly, a Chrome window like the one below opens externally.
This phenomenon did not occur in previous versions.
The same phenomenon occurs when I execute programs such as MiniBrowser or SimpleBrowser in the demo repeatedly.
I did not give the NoSandbox option to the binary path option, and even if I set this option, the same thing happens.
In the MainProcess method, only the Chrome window opens and does not follow the duplicate execution prevention routine I created, and in the SubProcess method, the Chrome window opens and also follows the duplicate execution prevention routine I created.
How can I prevent this Chrome window from opening?
