Uses of Class
cloud.opencode.base.core.process.ProcessConfig.Builder
Packages that use ProcessConfig.Builder
-
Uses of ProcessConfig.Builder in cloud.opencode.base.core.process
Methods in cloud.opencode.base.core.process that return ProcessConfig.BuilderModifier and TypeMethodDescriptionstatic ProcessConfig.BuilderCreates a new builder with the given command.static ProcessConfig.BuilderCreates a new builder with the given command list.Sets the command and arguments.Sets the command and arguments.ProcessConfig.Builder.environment(String key, String value) Adds a single environment variable.ProcessConfig.Builder.environment(Map<String, String> env) Adds multiple environment variables.ProcessConfig.Builder.inheritIO(boolean inherit) Sets whether the process should inherit the parent's IO streams.ProcessConfig.Builder.redirectErrorStream(boolean redirect) Sets whether stderr should be merged into stdout.ProcessConfig.Builder.stderrFile(Path file) Redirects stderr to a file.ProcessConfig.Builder.stdoutFile(Path file) Redirects stdout to a file.Sets the execution timeout.Sets the execution timeout.ProcessConfig.Builder.workingDirectory(Path dir) Sets the working directory for the process.