Table of Contents

Class PythonExecOptions

Namespace
OpenShell
Assembly
OpenShell.Sdk.dll

Options for the Python exec helpers.

public sealed record PythonExecOptions : IEquatable<PythonExecOptions>
Inheritance
PythonExecOptions
Implements
Inherited Members

Properties

Arguments

Arguments appended after the script; visible to it as sys.argv[1:].

public IReadOnlyList<string>? Arguments { get; init; }

Property Value

IReadOnlyList<string>

Exec

Common exec options (working directory, environment, timeout, stdin).

public ExecOptions? Exec { get; init; }

Property Value

ExecOptions

Interpreter

Interpreter to invoke inside the sandbox. Defaults to python.

public string Interpreter { get; init; }

Property Value

string