Result type for shell operations. Returns errors as strings instead of Error objects to prevent stack trace exposure to renderer.

export interface ShellOperationResult {
success: boolean;
error?: string;
}
interface ShellOperationResult {
    success: boolean;
    error?: string;
}

Properties

Properties

success: boolean

Whether the operation succeeded.

error?: string

Error message if operation failed.