Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Retrieve text from the hidden command-line window
#3
The following code executes normally, but the text in the hidden command-line window only appears after the program ends.
 
Code:
Copy      Help
process.terminate("frpc.exe");
string frpc = folders.ThisApp + @"\frpc.exe"; print.it(frpc);
string cl = "-c frpc.toml";

run.console(out var text, frpc, cl, curDir:$"{folders.ThisApp}", encoding: Console.OutputEncoding); print.it(text);

Quote:class consoleProcess if need input.

How to use `consoleProcess`?"  I've looked up some information, but I'm finding it a bit difficult.

I didn't find any content related to `consoleProcess` in the cookbook.
However, I found some help about `consoleProcess` in the link below. Where can I download the program(exe\console1\console1.exe, Is the source code available?) used in the examples?

Class consoleProcess | LibreAutomate


Messages In This Thread
RE: Retrieve text from the hidden command-line window - by Davider - 08-15-2024, 11:27 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)