We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c9d992 commit 0853ae1Copy full SHA for 0853ae1
bittide-instances/data/picocom/start.sh
@@ -29,7 +29,7 @@ PICOCOM_BAUD="${PICOCOM_BAUD:-921600}"
29
# Flags: --pid: causes tail to close when picocom closes
30
# -n 0: Only read out the latest lines, not the last 10 lines
31
# -F: Could also be -f, but -F is apparently slightly safer due to inodes
32
-tail --pid=$$ -n 0 -F "${PICOCOM_STDOUT_LOG}" | tee "${stdout_dir}/myTest.log" &
+tail --pid=$$ -n 0 -F "${PICOCOM_STDOUT_LOG}" > "${stdout_dir}/myTest.log" &
33
tail --pid=$$ -n 0 -F "${PICOCOM_STDERR_LOG}" >&2 &
34
35
exec picocom --baud "${PICOCOM_BAUD}" --imap lfcrlf --omap lfcrlf $@ \
0 commit comments