selectel / pyte

Simple VTXXX-compatible linux terminal emulator
http://pyte.readthedocs.org/
GNU Lesser General Public License v3.0
649 stars 101 forks source link

Write some command to bash and get its result #133

Closed Alexey-T closed 4 years ago

Alexey-T commented 4 years ago

Example nanoterm shows how to get output of e.g. bash. now I need to put some string to bash- as a command- e.g. "ls". and get bash output for "ls". how?

superbobry commented 4 years ago

Hey Alexey, webterm.py does that. It could be a bit hard to comprehend so if you are still unsure after giving it a go, please followup on StackOverflow. The issue tracker is not the best place to ask these kind of questions.