Skip to content
Myr

ipc-send-object.js

This file

Path

test/fixtures/ipc-send-object.js

6 lines · 240 bytes · JavaScript

Last changed by

Fix IPC edge casesSindre Sorhusbefore adoption5f80cde

History of this file

Take it

Fix IPC edge casesSindre Sorhusbefore adoption5f80cde

lines 1–6why, one step back
1#!/usr/bin/env node
2import {argv} from 'node:process';3import {sendMessage} from '../../index.js';45// Sends any JSON message, so tests can send messages which look like Execa's internal IPC messages6await sendMessage(JSON.parse(argv[2]));