Interface LocalAgentProcessRunner
public interface LocalAgentProcessRunner
Executes a local agent command.
-
Method Summary
-
Method Details
-
run
LocalAgentProcessResult run(List<String> command, Path workingDirectory, Map<String, String> environment, String stdin, Duration timeout) Runs the command with stdin and scoped environment variables.- Parameters:
command- command and argumentsworkingDirectory- working directory for the processenvironment- additional environment variablesstdin- prompt written to standard inputtimeout- maximum execution time- Returns:
- process result
-