How to "Clear the Screen" for Windows Command Processor? (Windows 10)

BoQsc vaidas.boqsc at gmail.com
Tue May 21 10:11:46 UTC 2019


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


More information about the Digitalmars-d-learn mailing list