Closed ColonelPanics closed 6 years ago
This looks like a decent fix. However it begs the question on how we deal with the new line characters in general.
I'm of the opinion that SystemCommand
is behaving as expected as most system commands do end in a newline character. Thus it is the responsibility of the calling method to chomp the character off.
However, there maybe other cases that don't do this. So we might come across a similar bug again. @bobwhitelock, you have an opinion?
This looks fine to me for now, but open to being convinced that we should do something else if there's a reason to :slightly_smiling_face:
I'll merge this through now. We can revisit the issue if it crops up again
This fixes #437