We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2437f0f + df87b35 commit 72494bcCopy full SHA for 72494bc
1 file changed
labgrid/driver/shelldriver.py
@@ -320,7 +320,8 @@ def _get_xmodem_rx_cmd(self, filename):
320
if not self._xmodem_cached_rx_cmd:
321
if self._run('which rx')[0]:
322
# busybox rx
323
- self._xmodem_cached_rx_cmd = "rx '{filename}'"
+ # lrz may provide rx so redirect stderr for the same reason as below
324
+ self._xmodem_cached_rx_cmd = "rx '{filename}' 2>/dev/null"
325
elif self._run('which lrz')[0]:
326
# redirect stderr to prevent lrz from printing "ready to receive
327
# $file", which will confuse the XMODEM instance
0 commit comments