module documentation
(source)

This module contains helper classes for running external applications.

See zim.gui.applications for classes with desktop integration for applications defined in desktop entry files.

Class Application Base class for objects representing an external application or command.
Class ApplicationError Error raises for error in sub process errors
Class StartFile Application wrapper for os.startfile(). Can be used on windows to open files and URLs with the default application.
Class WebBrowser Application wrapper for the webbrowser module. Can be used as fallback if no webbrowser is configured.
Constant TEST_MODE Undocumented
Constant TEST_MODE_RUN_CB Undocumented
Variable logger Undocumented
Function _check_flatpak_host_command Undocumented
Function _decode Undocumented
Function _main_is_frozen Undocumented
Function _split_environ_list Undocumented
Constant _CAN_CALL_FLATPAK_HOST_COMMAND Undocumented
Constant _ENCODING Undocumented
Constant _FLATPAK_HOSTCOMMAND_PREFIX Undocumented
TEST_MODE: bool = (source)

Undocumented

Value
False
TEST_MODE_RUN_CB = (source)

Undocumented

Value
None
logger = (source)

Undocumented

def _check_flatpak_host_command(): (source)

Undocumented

def _decode(data): (source)

Undocumented

def _main_is_frozen(): (source)

Undocumented

def _split_environ_list(value): (source)

Undocumented

_CAN_CALL_FLATPAK_HOST_COMMAND = (source)

Undocumented

Value
_check_flatpak_host_command()
_ENCODING = (source)

Undocumented

Value
locale.getpreferredencoding()
_FLATPAK_HOSTCOMMAND_PREFIX: tuple[str, ...] = (source)

Undocumented

Value
('flatpak-spawn', '--host')