Launching an application asking for administrator rights

The function launches the application asking for administrator rights. As if it were launched from the context menu of the file - "Run as administrator".

Options

app - path to the application

params - parameters (keys) with which to start the application, if required

Result

True if the application was started or false if not

Author: admin