Socket
Socket
Sign inDemoInstall

foreground-child

Package Overview
Dependencies
7
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.0 to 1.5.1

2

index.js

@@ -63,3 +63,3 @@ var signalExit = require('signal-exit')

var spawnOpts = { stdio: ['inherit', 'inherit', 'inherit'] }
var spawnOpts = { stdio: [0, 1, 2] }

@@ -66,0 +66,0 @@ if (process.send) {

{
"name": "foreground-child",
"version": "1.5.0",
"version": "1.5.1",
"description": "Run a child as if it's the foreground process. Give it stdio. Exit when it exits.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -7,2 +7,3 @@ var fg = require('../index.js')

console.log('stdout')
setTimeout(function () {}, 1000)
switch (process.argv[3]) {

@@ -9,0 +10,0 @@ case 'SIGTERM':

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc