Closed obvionaoe closed 7 months ago
This is already possible. Instead of RunLocalShell
(which runs an interactive shell) you should use the RunWithConnection
constructor - it is illustrated in the README file as well.
Thanks, I missed that on my first look, but is there no way to run an arbitrary command without the overhead of an SSH session?
My apologies, I was not meaning to suggest running through ssh.. It is an illustration that any command can be run, just hook up the input and output streams
Ah my bad, I thought it required SSH, but the streams are the things being passed. Thank you :bowing_man:
Hi, I'm trying to make a simple terminal window that automatically runs a TUI. So I'd like to pass the TUI as the command instead of the default shell. Can the command be made into a public property?
Thanks