yast2-core
Execute

Execute Execute(.process.start_shell, string command, map options) -> integer Execute the command in a shell (/bin/sh). The command can contain all shell features like argument expansion, stdout/stderr redirection...

The optional map can contain additional configuration: "tty" : boolean - run the command in terminal (instead of piped stdout/stderr), the default is false, "C_locale" : boolean - use C locale (default false), "env" : map<string variable, string value> - set additional environment variables.

Returns ID of the started process

(.process.start_shell, "/bin/true") -> 12345


Generated on a sunny day for yast2-core by doxygen 1.8.5