Args

data class Args(val command: String, val timeoutSeconds: Int, val workingDirectory: String? = null)(source)

Parameters for running a shell command.

Constructors

Link copied to clipboard
constructor(command: String, timeoutSeconds: Int, workingDirectory: String? = null)

Properties

Link copied to clipboard

The command to run (e.g., "ls -la", "git status", "npm install")

Link copied to clipboard

Cancel the command if it runs longer than this many seconds (default: 60)

Link copied to clipboard

Directory to run the command in, or null to use the current directory