Not as in running an executable, but running system commands, such as cls in the windows console or clear in the linux terminal. The equivalent to what in C would be system("cls"). How do I do that? I tried
discard execProcess("cls")
but it didn't work.
test.nim(29) cls
osproc.nim(358) execProcess
osproc.nim(581) startProcess
oserr.nim(110) raiseOSError
Error: unhandled exception: The system cannot find the file specified.
Ah that works. :)
Thanks.