Hi Torge,
On 11/2/20 10:34 PM, Torge Matthies wrote:
I understand that using Wine-internal functions is not supported, however the desired behavior seems hard if not impossible to implement otherwise.
You should be able to achieve that by implementing your application as a Windows service.
For a quick workaround would be to call FreeConsole() in your application. This way console will become unused and conhost will exit earlier.
If you wrap execution with a script, you could also make sure that none of std handles (in, out, err) is a terminal. In this case conhost will not be created in the first place.
Jacek