#include <external_client.h>
|
| | ExternalClientLauncher () |
| |
| | ~ExternalClientLauncher () |
| |
| void | operator() (mir::Server &server) |
| |
| auto | launch (std::vector< std::string > const &command_line) const -> pid_t |
| | Launch with client environment configured for Wayland. If X11 is enabled, then DISPLAY will also be set accordingly. More...
|
| |
| auto | launch_using_x11 (std::vector< std::string > const &command_line) const -> pid_t |
| | If X11 is enabled, then launch with client environment configured for X11. For the occasions it is desired to coerce applications into using X11. More...
|
| |
| void | snapcraft_launch (std::string const &desktop_file) const |
| | Use the proposed desktop-entry snap interface to launch another snap. More...
|
| |
| auto | launch (std::string const &command) const -> pid_t |
| | Launch with client environment configured for Wayland. If X11 is enabled, then DISPLAY will also be set accordingly. More...
|
| |
|
| static auto | split_command (std::string const &command) -> std::vector< std::string > |
| | Split out the tokens of a (possibly escaped) command. More...
|
| |
◆ ExternalClientLauncher()
| miral::ExternalClientLauncher::ExternalClientLauncher |
( |
| ) |
|
◆ ~ExternalClientLauncher()
| miral::ExternalClientLauncher::~ExternalClientLauncher |
( |
| ) |
|
◆ launch() [1/2]
| auto miral::ExternalClientLauncher::launch |
( |
std::string const & |
command | ) |
const -> pid_t |
Launch with client environment configured for Wayland. If X11 is enabled, then DISPLAY will also be set accordingly.
- Returns
- The pid of the process that was launched.
◆ launch() [2/2]
| auto miral::ExternalClientLauncher::launch |
( |
std::vector< std::string > const & |
command_line | ) |
const -> pid_t |
Launch with client environment configured for Wayland. If X11 is enabled, then DISPLAY will also be set accordingly.
- Returns
- The pid of the process that was launched.
◆ launch_using_x11()
| auto miral::ExternalClientLauncher::launch_using_x11 |
( |
std::vector< std::string > const & |
command_line | ) |
const -> pid_t |
If X11 is enabled, then launch with client environment configured for X11. For the occasions it is desired to coerce applications into using X11.
- Returns
- The pid of the process that was launched (or -1 if X11 is not enabled)
◆ operator()()
| void miral::ExternalClientLauncher::operator() |
( |
mir::Server & |
server | ) |
|
◆ snapcraft_launch()
| void miral::ExternalClientLauncher::snapcraft_launch |
( |
std::string const & |
desktop_file | ) |
const |
Use the proposed desktop-entry snap interface to launch another snap.
◆ split_command()
| static auto miral::ExternalClientLauncher::split_command |
( |
std::string const & |
command | ) |
-> std::vector< std::string > |
|
static |
Split out the tokens of a (possibly escaped) command.
The documentation for this class was generated from the following file:
Copyright © 2012-2023
Canonical Ltd.
Generated on Wed Feb 1 16:59:23 UTC 2023
This documentation is licensed under the GPL version 2 or 3.