I am currently trying to build a GUI app with sciter and noticed that the executable will always open a CLI as well. First I though that must be something with sciter. Now I think that’s just how rust starts the application. So, I tried to create and open a window within a thread but that blocks the main() as well until the tread is finished. I could not find a current example about how to detach the thread and thus the CLI remains open. I would like to get an executable that does not open a CLI. How can I do that?
Info:
- I’m doing this on windows
- I don’t think it’s a sciter specific problem but if that’s the case I use sciter for the GUI
What is the proper way of building a GUI app that does not open a CLI (or terminal if on linux)?