Skip to main content

Module process

Module process 

Source
Expand description

Launches and relaunches the host application across platforms, hiding the per-OS command needed to open a fresh instance.

Enums§

ProcessError
Errors returned by relaunch.

Functions§

relaunch
relaunch starts a fresh instance of the application at the given path. The caller quits the current process afterwards. On macOS the path is the .app bundle, on Windows the executable, and on Linux the binary.