bootstrap: add return value for checking launchapp command is failure or