piotrmurach/tty-command

Reduce line prefix when logging command output

piotrmurach opened this issue · 1 comments

That output is awesome. Any reason to include the random # in the line prefix? I'd think the pid would be enough and it would be great to reduce noise.

I agree the uuid should probably be shorter. I have followed the same principle that is used for creating tempfile names in ruby, though I'm not sure that PID is the one I will choose as you can run many commands and they all may run in the same process but it would be good to have unique identifiers per command executed. Also, I want to provide ability to specify different printers apart from the current one such that skip printing the uuid all together and still colour the output.