openPath

abstract fun openPath(path: String): Promise<String>(source)

Resolves with a string containing the error message corresponding to the failure if a failure occurred, otherwise "".

Open the given file in the desktop's default manner.