UNFORTUNATELY...UNFORTUNATELY...
...my bytes_and_checksum function stalls (deadlock?) when cmd produces a lot more output than was the case in my toy example above....my bytes_and_checksum function stalls (deadlock?) when cmd produces a lot more output than was the case in my toy example above.
Back to the drawing board...Back to the drawing board...