Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

child_process-remote

Package Overview
Dependencies
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

child_process-remote

child_process spawn over TCP

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
3
Weekly downloads
 
Created
Source

Build Status Coverage Status Version License Code style

Motivation

Execute a remote process throught a remote TCP endoint

API

//assume server is running on 
var spawn = require('child_process-remote/spawn')(8080);

var version = '';
var child = spawn('node', ['-v']);
child.stdout.on('data', function(line) {
  version = line;
})

child.on('close', function(exit) {
  console.log('All done, version is %s , exit code is %d', version, exit);
});
var Server = require('child_process-remote/server');
var server = new Server();
server.listen(8080, function() {
  console.log("Server is now ready");
});

Credits

  • 131

Keywords

FAQs

Package last updated on 11 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc