package
3.0.0-alpha9+incompatible
Repository: https://github.com/opensvc/om3.git
Documentation: pkg.go.dev
# Functions
CmdArgsFromString returns args for exec.Command from a string command 's' When string command 's' contains multiple commands,
exec.Command("/bin/sh", "-c", s)
else
exec.Command from shlex.Split(s).
No description provided by the author
ShLimitCommands provides ulimit commands for sh launcher max value of LimitVMem, LimitAs is used to set virtual memory limit.
WithArgs sets the process args[1:] from a string slice.
WithBufferedStderr activates the buffering of the lines emited by the process on stderr.
WithBufferedStdout activates the buffering of the lines emited by the process on stdout.
WithCommandLogLevel show command name and args during Start
default zerolog.DebugLevel.
No description provided by the author
No description provided by the author
WithErrorExitCodeLogLevel sets the level of the log entries for error exit code.
No description provided by the author
WithIgnoredExitCodes set alternate list of successful exit codes.
WithLogger defines the Logger that will receive this pkg logs and process outputs.
WithLogLevel sets the level of the log entries.
WithName sets the process args[0].
No description provided by the author
No description provided by the author
WithStdoutLogLevel sets the level of the log entries coming from the process stderr If not set, stderr lines are not logged.
WithStdoutLogLevel sets the level of the log entries coming from the process stdout.
WithTimeout sets the max duration the process is allowed to run.
No description provided by the author
WithVarArgs sets the process args[1:] from a variadic string slice.
No description provided by the author
# Variables
No description provided by the author
No description provided by the author