You don't, ShellExecute doesn't have the functionality you want. You could use ShellExecuteEx asking for the process handle return and polling until that process terminates if you wanted.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results