File.execute

bool execute ()

Description

Executes or opens this file using the appropriate application, as if it had been double-clicked in a file browser.

You can use this method to run scripts, launch applications, and so on.Returns true immediately if the application launch was successful.