Function wm_daemons::exec::read_command_line_from_config [] [src]

pub fn read_command_line_from_config(
    conf: &Config,
    path: &str
) -> Option<CommandLine>

Reads a command line from the configuration with the given configuration key.

If the configuration is a string, it is interpreted as a program with no arguments. A list of strings is taken to be a program with arguments. The program supports expanding the ~/ token to be the home directory of the current user.

All other configuration types are ignored.