How to send control characters to shell?

In the documentation < > it states that we can send control characters to the shell, but how does one actually do it? Do you use WriteLine? How do you write the control character (CTRL+C, ^C)?

Thank you kindly,

ChrB(3) would be CTRL + C, so .write(CarB(3)).

This only works in interactive mode. Thanks :slight_smile:

Typo? Is this supposed to be:



Yup a typo.

1 Like

I also found that it is .WriteLine ChrB(3), guess it needs that EndOfLine