Skip to content

CommonSpawnOptions

[<Interface>]
type CommonSpawnOptions =
    abstract member argv0: string option with get, set
    abstract member shell: U2<string,bool> option with get, set
    abstract member stdio: StdioOptions option with get, set
    abstract member windowsVerbatimArguments: bool option with get, set
    static member Create (?argv0: string, ?stdio: StdioOptions, ?shell: U2<string,bool>, ?windowsVerbatimArguments: bool, ?serialization: SerializationType, ?killSignal: U2<float,string>, ?uid: float, ?gid: float, ?cwd: U2<string,URL>, ?env: ProcessEnv, ?windowsHide: bool, ?timeout: float, ?signal: AbortSignal) : CommonSpawnOptions
AssemblyXantham.Fable.Node
ImplementsAbortable, MessagingOptions, CommonOptions
Attributes[<Interface>]

Properties

abstract member argv0: string option with get, set
abstract member shell: U2<string,bool> option with get, set
abstract member stdio: StdioOptions option with get, set

Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings. If passed as an array, the first element is used for stdin, the second for stdout, and the third for stderr. A fourth element can be used to specify the stdio behavior beyond the standard streams. See ChildProcess.stdio for more information.

abstract member windowsVerbatimArguments: bool option with get, set

Methods

static member Create (?argv0: string, ?stdio: StdioOptions, ?shell: U2<string,bool>, ?windowsVerbatimArguments: bool, ?serialization: SerializationType, ?killSignal: U2<float,string>, ?uid: float, ?gid: float, ?cwd: U2<string,URL>, ?env: ProcessEnv, ?windowsHide: bool, ?timeout: float, ?signal: AbortSignal) : CommonSpawnOptions