launch()

Input / Files

Description

Opens a file, URL, or application using the operating system's default handler.

Syntax

void launch(std::string path)

Parameters

NameTypeDescription
pathstd::stringpath, URL, or application to launch

Returns

void

Under the Hood

From Processing.h:

inline void launch(const std::string& path) { system(path.c_str()); }