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
Exec
Common exec options (working directory, environment, timeout, stdin).
public ExecOptions? Exec { get; init; }
Property Value
Interpreter
Interpreter to invoke inside the sandbox. Defaults to python.
public string Interpreter { get; init; }