You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, newbie here.
Would it be possible to send a message (command) to a process, but without displaying that command in the terminal (such as xterm.js)?
Ideally, it should also receive a response.
It should not be write (which echoes in the terminal), but presumably something else. Something in the direction of: console.log(ptyProcess.write('ls\r'));
(thus receiving the result in the Javascript caller)
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Other than something like this, the only way to do something like this is to intercept the data stream and remove characters from it before it gets to your terminal.
Hello, newbie here.
Would it be possible to send a message (command) to a process, but without displaying that command in the terminal (such as xterm.js)?
Ideally, it should also receive a response.
It should not be
write
(which echoes in the terminal), but presumably something else. Something in the direction of:console.log(ptyProcess.write('ls\r'));
(thus receiving the result in the Javascript caller)
Thanks in advance.
The text was updated successfully, but these errors were encountered: