Displaying 1 to 20 from 20 results

python-shell - Run Python scripts from Node

  •    TypeScript

A simple way to run Python scripts from Node.js with basic but efficient inter-process communication and better error handling. If the script exits with a non-zero code, an error will be thrown.

nexpect - spawn and control child processes in node.js with ease

  •    Javascript

nexpect is a node.js module for spawning child applications (such as ssh) and seamlessly controlling them using javascript callbacks. nexpect is based on the ideas of the expect library by Don Libes and the pexpect library by Noah Spurrier.node.js has good built in control for spawning child processes. nexpect builds on these core methods and allows developers to easily pipe data to child processes and assert the expected response. nexpect also chains, so you can compose complex terminal interactions.

pm - A graceful node library to contribute a permanent "master-worker" server.

  •    Javascript

pm 是一个轻量级的Node.js多进程管理器,基于之前的node-cluster重构而来,在淘宝内部的生产系统中得到了广泛的应用. Thanks goes to the people who have contributed code to this module, see the GitHub Contributors page.




standalone - Creates an isolated thread / process in JavaScript (Node.js and modern browsers).

  •    Javascript

Creates an isolated thread / process in JavaScript (Node.js and modern browsers). In master.js, we can use "getXXXByYYY" asynchronously, while the originally defined API is synchronous.

mock-spawn - Easy to use mock for child_process.spawn

  •    Javascript

An easy-to-use mock for child_process.spawn. The runner function accepts a single callback that needs to be called with an exit code and optionally a signal name. If you define a throws property on the runner object, it will throw that error synchronously to mimic the behavior of child_process.spawn. It will ignore everything else in this case, and it will not "run" at all. CAVEAT: The throws value must be an instanceof Error.

procstreams

  •    Javascript

procstreams is module to facilitate shell scripting in node. This is the first phase. Right now all it does is make it easier to create child processes and compose them together in a similar way to unix command line scripting.

node-waitpid - A node

  •    C++

Well, thanks to the tangential needs of some dubious mad science, now you can, without all the weeping and gnashing of teeth. Assuming a child process spawned as child above, waitpid will suspend the parent until the child is finished.


await-spawn - child_process.spawn() wrapped in a Promise

  •    Javascript

child_process.spawn() wrapped in a Promise for doing async/await. Exposes a single function, which has the same api as child_process.spawn().

exec-plan - A Node.js module to run child process commands synchronously.

  •    Javascript

A Node.js module to run child process commands synchronously.

Threadful - Common "Thread" behavior for Browsers (using Web Workers) or Node (using Child Process)

  •    Javascript

Common "Thread" behavior for Browsers (using Web Workers) or Node (using Child Process). Because JavaScript lacks real thread support it uses thread like abstractions such as Web Workers or Child Process. These abstractions are actually spawning an entirely separate VM for execution. This can be expensive from both a time and a memory point of view. For this reason, Threadful (and any thread solution) should be used with thought and caution.

DbgChild - Debug Child Process Tool (auto attach)

  •    C

Auto from x32dbg/x64dbg Hook Process Creation - Toggle option to switch on or off the automatic hooking of the process creation. If it is off, then user must manually select Hook Process Creation at some point before child processes are spawned.

webpack-spawn-plugin - A webpack plugin that runs child_process.spawn within compilation

  •    Javascript

A webpack plugin that runs child_process.spawn within compilation. The Webpack compiler hook during which the process will be spawned.

reactphp-child-process-messenger

  •    PHP

To install via Composer, use the command below, it will automatically detect the latest version and bind it with ~. While this package supports several ways of setting up communication between parent and child the simplest way is to create class implementing WyriHaximus\React\ChildProcess\Messenger\ChildInterface. Up on calling create everything is set up and created to handle supported RPC's and messages.

reactphp-child-process-pool

  •    PHP

To install via Composer, use the command below, it will automatically detect the latest version and bind it with ~. This package pools wyrihaximus/react-child-process-messenger, for basic messaging please see that package for details how to use it.

gulp-multi-process - Run gulp tasks in separate CPU processes

  •    Javascript

Run task in multiple processes is not always good for performance because spawn a different node processes is slow. It also depends on how long time it takes to require your gulpfile. Keep in mind that you can pass true as a third parameter to gulpMultiProcess fn in order to get optimal preformance. This will launch one process per core, and if there will be more of them than the number of cores on your machine it will put others into queue. When one process will finish its operation, the next one will be on launched.

relieve - Ease the implementation of multi processing accross your microservices

  •    Javascript

The goal of this library is to ease the implementation of multi processing accross your existing microservices. Relieve aims to give a reusable design pattern using process forks. It also eases communication with child processes with an high-level abstraction. The task can be used without a Worker, but the Worker helps managing workflows.

process - :whale2: The process wrapper and manager based on PCNTL on the Unix-like systems using php

  •    PHP

The library help to work with processes. It provides a more readable api and various modes for IPC via pipe(FIFO) and system v. The library replies on the following php's extension.