How hide console in dub.sdl under windows 11?
a11e99z
black80 at bk.ru
Thu May 25 10:10:53 UTC 2023
On Thursday, 25 May 2023 at 08:37:40 UTC, John Xu wrote:
> For dmd, I can use a no_console.def file, which has:
>
> EXETYPE NT
> SUBSYSTEM WINDOWS
>
>
> Then `dmd my.d no_console.def` to hide console.
>
> But how do I realize it with dub.sdl ? Adding no_console.def to
> "sourceFiles", doesn't help.
redirect to nul?
```command -args >nul 2>&1```
More information about the Digitalmars-d-learn
mailing list