Help: How can I run less commnd? #862
Replies: 4 comments
-
In order to run less command you need a tty or a pty. zx does not provide those. Can use you Or consider something like node-pty. |
Beta Was this translation helpful? Give feedback.
-
Hey, thanks for letting me know. I was initially using cat ( I was trying |
Beta Was this translation helpful? Give feedback.
-
use js |
Beta Was this translation helpful? Give feedback.
-
I couldn't find any NPM package that helps me to do that. I guess I have to make my own. Thanks anyway. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to run the
less
command from js but following code isn't workingI also tried it with
verbose
but not working. So, is there anyway to run theless
command?Beta Was this translation helpful? Give feedback.
All reactions