Skip to content

Commit

Permalink
Merge pull request #1261 from JoshuaWatt/xmodem-fix
Browse files Browse the repository at this point in the history
shelldriver: Fix xmodem
  • Loading branch information
Emantor committed Sep 6, 2023
2 parents 4bfdc59 + 5eff539 commit 8e1e683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labgrid/driver/shelldriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def _start_xmodem_transfer(self, cmd):
"""

marker = gen_marker()
marked_cmd = f"echo '{marker[:4]}''{marker[4:]}'; {cmd}"
marked_cmd = f"echo -n '{marker[:4]}''{marker[4:]}'; {cmd}"
self.console.sendline(marked_cmd)
self.console.expect(marker, timeout=30)

Expand Down

0 comments on commit 8e1e683

Please sign in to comment.