To start any application by code, it pretty easy:

But in that simple case, we could just do:

Sometimes you will need to start an application as the current user, but as the admin as well: