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```
  • How hide console... John Xu via Digitalmars-d-learn
    • Re: How hid... a11e99z via Digitalmars-d-learn
    • Re: How hid... ryuukk_ via Digitalmars-d-learn
      • Re: How... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn

Reply via email to