This is the same exact "bug" as discussed here: My command execution put to the background
However it was left unsolved