xterm conviniently beeps on a failed unit test (pytest):
Beeping
(start-process "" nil "/usr/bin/xterm" "-e" "python3" "-B" "-m" "pytest_watch" "--clear" "--" "-s" "--last-failed")
Now I need this beep in term
or ansi-term
. How can can I do this?
Not yet beeping:
(switch-to-buffer (make-term "test-term" "/bin/bash" nil "-c" "python3 -B -m pytest_watch --clear -- -s --last-failed"))
(switch-to-buffer (term-ansi-make-term "test-ansi" "/bin/bash" nil "-c" "python3 -B -m pytest_watch --clear -- -s --last-failed"))
ding
...