// we open a 4th stdio as IPC doesn't work on windows for python->node child.stdio[4].on("data", async function(message) { await waitPort({ port: parseInt(message.toString()), output: "silent", timeout: 1000 * 60 * 2 // 2 Minutes }); resolve(expressWrap(message.toString().trim())); });
// we open a 4th stdio as IPC doesn't work on windows for python->node child.stdio[4].on("data", async function(message) { await waitPort({ port: parseInt(message.toString()), output: "silent", timeout: 1000 * 60 * 2 // 2 Minutes }); resolve(expressWrap(message.toString().trim())); });