On Tuesday, 21 May 2019 at 10:03:38 UTC, KnightMare wrote:
try next: spawnShell( "cls" ).wait;
Wow, spawnShell indeed does the job as I would expect, as of right now. Thanks.
spawnShell Function indeed sounds like it would spawn a new shell instead of what it does, at first I didn't look into it very seriously while checking documentation.
https://dlang.org/library/std/process/spawn_shell.html