graceful-nested.js
This file
Path
test/fixtures/graceful-nested.js
7 lines · 329 bytes · JavaScript
Last changed by
Harden some thingsSindre Sorhusbefore adoption4a0a121
History of this fileTake it
12345678#!/usr/bin/env nodeimport {execa, getCancelSignal, sendMessage} from 'execa';
const cancelSignal = await getCancelSignal();// Neither the messages nor the disconnection of this process' own subprocess must abort its `cancelSignal`await execa('ipc-send-cancel-shape.js', {ipc: true});await sendMessage(cancelSignal.aborted);