shell: simplify run_application

Change-Id: Ie988302cf9480aeddbb9f20a146deaf56ab4e8d0
Merge "shell: simplify run_application"