how do i "shell/start" an app and not let my program continue untill the app has finished?