Function spawnZ

  • Spawns child process.

    Parameters

    • spawn: ((this) => ChildProcess)

      Starter function returning started child process instance.

        • (this): ChildProcess
        • Parameters

          • this: void

          Returns ChildProcess

    • config: SpawnZConfig = {}

      Spawned process configuration.

    Returns ZExecution

    New process execution instance killing the process on abort.

Generated using TypeDoc