Closed arkocal closed 9 years ago
That is a much cleaner solution indeed :+1: . I forgot about get_commad
. I am keeping this branch on my local anyway, in case we need to run this check for any other line than the last one.
Btw. this was why I asked whether you are assigning the issues :smile: .
Note that GitHub allows me to assign issues only to myself or to members of the "organization" (which we don't have), so this feature doesn't help us. IMO, the best way to avoid duplicate work is to drop a quick "I'm working on this" comment on the relevant issue thread.
I found the issue underlying the bug and fixed it in https://github.com/p-e-w/finalterm/commit/39b078b2a96a5c3c9e74f92b1929f383d220ca8b (explanation in https://github.com/p-e-w/finalterm/issues/377#issuecomment-63171648). I'm closing this PR since it only masks the real problem which is now solved.
This is not a very beautiful solution, but reading the output line seems to be the only solution, because return value is not set to 0 when an empty command is run.