Closed hasanOryx closed 6 years ago
I tried loading the minimal.html, it is loading fine at cargo run, but once I runn the .exe alone, 2 windows appear, one empty as cmd and one shows the real output as shown in this pic.
minimal.html
cargo run
.exe
cmd
I'm using Windows 10
Windows 10
Read this: minimal.rs.
If you use Rust 1.18 or higher, put this line in your app: #![windows_subsystem="windows"]. It will make a windows application without console window.
#![windows_subsystem="windows"]
Thanks @pravic
I tried loading the
minimal.html
, it is loading fine atcargo run
, but once I runn 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