1

I tried searching, but found nothing. All I want to do is run system commands/shell commands. The main one though, is cls.

EDIT:

I did find a question that answers my question really well. Here's that: How do I invoke a system command and capture its output?

mistycrap
  • 56
  • 5
  • `std::process::Command` is what you're looking for. – Masklinn Feb 16 '21 at 07:22
  • Great! Thank you very much. I found a question while waiting: https://stackoverflow.com/questions/21011330/how-do-i-invoke-a-system-command-and-capture-its-output which answered my needs. Thanks again :) – mistycrap Feb 16 '21 at 07:25
  • Voted to close as duplicate of that question, then? – Cerberus Feb 16 '21 at 07:41

0 Answers0