bugy / script-server

Web UI for your scripts with execution management
Other
1.57k stars 248 forks source link

watch command printing wrong characters #492

Open anaschaudhary33 opened 3 years ago

anaschaudhary33 commented 3 years ago

I have a simple script

#!/bin/bash
export TERM=linux
watch $1

When executed in script-server it prints incorrectly (missing or duplicate characters). For comparison, Script server:

https://user-images.githubusercontent.com/70742968/132981330-a5244709-0c60-4d2a-ad9c-68f9991dba48.mp4

terminal:

https://user-images.githubusercontent.com/70742968/132981336-433227e8-7d56-4f04-8829-b49c7de8ce41.mp4

Here is the log file

bugy commented 3 years ago

Thanks for the report!