I'm getting unsure why executeShell works on the pause command, but cls that is responsible for clearing the text do not.

import std.stdio, std.process;
void main()
{
        writeln("Some text that will appear in cmd");
        executeShell("cls"); // Does not clear the text?
executeShell("pause"); // Pauses the cmd.exe to keep from closing itself.
}

Reply via email to