Skip to content

ForkOptions

[<Interface>]
type ForkOptions =
    abstract member detached: bool option with get, set
    abstract member execArgv: string array option with get, set
    abstract member execPath: string option with get, set
    abstract member silent: bool option with get, set
    abstract member stdio: StdioOptions option with get, set
    abstract member windowsVerbatimArguments: bool option with get, set
    static member Create (?execPath: string, ?execArgv: string array, ?silent: bool, ?stdio: StdioOptions, ?detached: bool, ?windowsVerbatimArguments: bool, ?serialization: SerializationType, ?killSignal: U2<float,string>, ?timeout: float, ?uid: float, ?gid: float, ?cwd: U2<string,URL>, ?env: ProcessEnv, ?signal: AbortSignal) : ForkOptions
AssemblyXantham.Fable.Node
ImplementsAbortable, MessagingOptions, ProcessEnvOptions
Attributes[<Interface>]

Properties

abstract member detached: bool option with get, set
abstract member execArgv: string array option with get, set
abstract member execPath: string option with get, set
abstract member silent: 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 (?execPath: string, ?execArgv: string array, ?silent: bool, ?stdio: StdioOptions, ?detached: bool, ?windowsVerbatimArguments: bool, ?serialization: SerializationType, ?killSignal: U2<float,string>, ?timeout: float, ?uid: float, ?gid: float, ?cwd: U2<string,URL>, ?env: ProcessEnv, ?signal: AbortSignal) : ForkOptions