ShellSentry

data class ShellSentry(    command: String,     workingDir: Path,     cacheDir: Path = createTempDirectory("shellsentry"),     bugsnagKey: String? = null,     config: ShellSentryConfig = ShellSentryConfig(),     verbose: Boolean = false,     debug: Boolean = false,     noExit: Boolean = false,     logger: (String) -> Unit = ::println,     extensions: List<ShellSentryExtension> = emptyList())(source)

Executes a command with Bugsnag tracing and retries as needed.

Constructors

Link copied to clipboard
constructor(    command: String,     workingDir: Path,     cacheDir: Path = createTempDirectory("shellsentry"),     bugsnagKey: String? = null,     config: ShellSentryConfig = ShellSentryConfig(),     verbose: Boolean = false,     debug: Boolean = false,     noExit: Boolean = false,     logger: (String) -> Unit = ::println,     extensions: List<ShellSentryExtension> = emptyList())

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun exec()