Closed hasanOryx closed 6 years ago
It appears as you have compiled your executable as console app so Windows creates console window for it (that second black window).
Your compilation command line should look like:
cargo rustc -- -Clink-args="/SUBSYSTEM:WINDOWS"
Check this: https://github.com/rust-lang/rfcs/blob/master/text/1665-windows-subsystem.md
I compiled it as 'cargo build --release' will check using the one you provided and confirm you back, thanks
Or #![windows_subsystem="windows"]
, see sciter-sdk/rust-sciter#21.
Thanks @pravic that solved it.
I tried loading a simple html file using
Rust
, it is loading fine atcargo run
, but once I run the.exe
alone, 2 windows appear, one empty ascmd
and one shows the real output as shown in this pic.I'm using
Windows 10 x64