log output and return of background command, show error popup