Header menu logo fable-electron-docs-api

utilityProcess Type

⚠ Process Availability: Main ✔ | Renderer ❌ | Utility ❌ | Exported ✔utilityProcess creates a child process with Node.js and Message ports enabled. It provides the equivalent of child_process.fork API from Node.js but instead uses Services API from Chromium to launch the child process.Process: Main

Static members

Static member Description

utilityProcess.fork (modulePath, ?args, ?env, ?execArgv, ?cwd, ?stdio, ?serviceName, ?allowLoadingUnsignedLibraries, ?respondToAuthRequestsFromMainProcess)

Full Usage: utilityProcess.fork (modulePath, ?args, ?env, ?execArgv, ?cwd, ?stdio, ?serviceName, ?allowLoadingUnsignedLibraries, ?respondToAuthRequestsFromMainProcess)

Parameters:
    modulePath : string
    ?args : string[]
    ?env : obj
    ?execArgv : string[]
    ?cwd : string
    ?stdio : U2<Stdio[], string>
    ?serviceName : string
    ?allowLoadingUnsignedLibraries : bool
    ?respondToAuthRequestsFromMainProcess : bool

Returns: UtilityProcess
Modifiers: inline

[!NOTE] utilityProcess.fork can only be called after the ready event has been emitted on App.

modulePath : string
?args : string[]
?env : obj
?execArgv : string[]
?cwd : string
?stdio : U2<Stdio[], string>
?serviceName : string
?allowLoadingUnsignedLibraries : bool
?respondToAuthRequestsFromMainProcess : bool
Returns: UtilityProcess

Type something to start searching.