Skip to content

spawnStryker

spawnStryker(bin, args, cwd, capture): Promise<IStrykerExit>

Run the Stryker bin under the current Node with cwd, streaming or capturing its output. SIGINT and SIGTERM sent to this process are passed on to it, so an interrupted CI job ends Stryker as well, and the run reads as ended by a signal (blocked), never as a result.

string

readonly string[]

string

boolean

Promise<IStrykerExit>