External preparation command plus its privilege requirement.
More...
#include <src/config.h>
|
|
std::string | do_cmd |
| | Command to run before the application starts.
|
| |
|
bool | elevated |
| | Whether the process should be launched elevated.
|
| |
|
std::string | undo_cmd |
| | Command to run after the application exits.
|
| |
External preparation command plus its privilege requirement.
◆ prep_cmd_t() [1/2]
| config::prep_cmd_t::prep_cmd_t |
( |
std::string && | do_cmd, |
|
|
std::string && | undo_cmd, |
|
|
bool && | elevated ) |
|
inline |
Build a preparation command entry from parsed configuration data.
- Parameters
-
| do_cmd | Command to run before the application starts. |
| undo_cmd | Command to run after the application exits. |
| elevated | Whether the command should run with elevated privileges. |
◆ prep_cmd_t() [2/2]
| config::prep_cmd_t::prep_cmd_t |
( |
std::string && | do_cmd, |
|
|
bool && | elevated ) |
|
inlineexplicit |
Build a preparation command entry from parsed configuration data.
- Parameters
-
| do_cmd | Command to run before the application starts. |
| elevated | Whether the command should run with elevated privileges. |
The documentation for this struct was generated from the following file: