execute
open suspend override fun execute(command: String, workingDirectory: String?, timeoutSeconds: Int): ShellCommandExecutor.ExecutionResult(source)
Executes a shell command and returns combined output and exit code.
Return
ExecutionResult containing combined stdout/stderr output and process exit code
Parameters
command
Shell command string to execute
workingDirectory
Working directory, or null to use the current directory
timeoutSeconds
Maximum execution time in seconds