piotrmurach / tty-command

Execute shell commands with pretty output logging and capture stdout, stderr and exit status.
https://ttytoolkit.org
MIT License
400 stars 32 forks source link

Mutex #35

Closed corasaurus-hex closed 7 years ago

corasaurus-hex commented 7 years ago

I don't think this mutex does anything and I can't figure out the original intention.

https://github.com/piotrmurach/tty-command/blob/master/lib/tty/command.rb#L171-L174

Thoughts?

piotrmurach commented 7 years ago

Thanks for using the library! The original intention probably got lost during refactorings :smile: Do you fancy PR? I would move it up to initialize for the time being. In future, I'm thinking of adding parallel runner that may require multi threading support.

corasaurus-hex commented 7 years ago

Sorry I'm just getting to this now. I'm not actually using the library but I was checking out the code. Looks like you've got it handled!