ShellExtender: Fix result code bug
We can't save the result code to $status after executing an empty echo command, as this echo command will overwrite the last result check.