Skip to content

Method CreateSubprocessDevice

Namespace: Belay.Extensions.Factories
Assembly: Belay.Extensions.dll

CreateSubprocessDevice(string, string[]?)

Creates a device instance with subprocess communication for testing.

csharp
SimplifiedDevice CreateSubprocessDevice(string executablePath, string[]? arguments = null)

Parameters

executablePath string

Path to the MicroPython executable.

arguments string[]?

Optional command-line arguments.

Returns

SimplifiedDevice

A configured device instance.

Released under the Apache License 2.0.