C.54 OpenTask

Open a file or URL in the user's preferred application.

OpenTaskwill not fail ifpathattribute is invalid. Therefore, this task must not be used to check the validity of a file or URL.

Table C.65: Attributes

path String File path or URL to open.n/aYes

C.54.1 Examples

Open http://localhost:8080/ on your browser.

<open path="http://localhost:8080/"/>

Open ./docs/images/screenshot.png on your image viewer.

<open path="./docs/images/screenshot.png"/>