rucko24 / EspFlow

Simple UI for esp32+ and esp8266 utilities
Apache License 2.0
4 stars 1 forks source link

execute dmesg correctly #20

Closed rucko24 closed 4 months ago

rucko24 commented 1 year ago

https://github.com/rucko24/nodemcu-ui-tool/blob/bdb6394eba1514131fcc0a929d17e41ab27cd164/src/main/java/com/nodemcutools/application/data/util/UiToolConstants.java#L12

Esto es lo actual

public static final String[] DMESG_TTY = new String[]{BIN_SH, "-c", "dmesg", "grep", "tty"};

quizas con

"/bin/sh", "-c", "dmesg | grep tty"

o

public static final String[] DMESG_TTY = new String[]{BIN_SH, "-c", "dmesg | grep tty"};