spawnCapturing(_:_:)
Runs executable and captures what it prints, without this library.
Source and package
- Qualified name
-
spawnCapturing(_: _:) - Package
- libtmux-swift
- Source
- Tests/TmuxFixture/TmuxLane.swift
-
Description#
posix_spawnrather thanProcessorpopen: this runs while the runner plans tests on several threads, and a fork from a multithreaded process can deadlock in the child before it execs, leaving its pipes open forever.