# OcrProcessRunner

Runs a configured executable directly with bounded output, timeout, and cancellation handling.

Class 

`OfficeIMO.Ocr.Process`

**Namespace**

`OfficeIMO.Ocr.Process`

**Assembly**

`OfficeIMO.Ocr.Process`

**Source revision**

`063fe3ee9839` with working tree changes

**Source**

[OcrProcessRunner.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr.Process/OcrProcessRunner.cs#L49)

**Modifiers**

static

Runs a configured executable directly with bounded output, timeout, and cancellation handling.

## Inheritance

- object
- OcrProcessRunner

Filter members 

Show inherited

## Methods

`public static async Task<OcrProcessResult> RunAsync(OcrProcessCommand command, CancellationToken cancellationToken = default)` [#](#method-runasync-officeimo-ocr-process-ocrprocesscommand-threading-cancellationtoken)

Runs one process command without invoking a command shell.

Parameters

**command OfficeIMO.Ocr.Process.OcrProcessCommand required**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`Task<OcrProcessResult>`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:3D4B01AE5AAB219B79D59A11B964E29815A552AC20E7FC0F629395A8BD0CC53B -->
