[RFC PATCH] conhost: Register as a system process.
Jacek Caban
jacek at codeweavers.com
Wed Nov 4 11:04:08 CST 2020
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
More information about the wine-devel
mailing list