comandante - spawn() that returns a duplex stream and emits errors with stderr data on non-zero exit codes

  •        10

Spawn commands returning a duplex stream. Emit stderr when the command exits with a non-zero code.Spawn a new process like require('child_process').spawn(), except the return value is a duplex stream combiningstdoutandstdin`.


duplexer : ~0.0.2



Related Projects

parallelshell - Run multiple shell commands in parallel

  •    CoffeeScript

This is a super simple npm module to run shell commands in parallel. All processes will share the same stdout/stderr, and if any command exits with a non-zero exit status, the rest are stopped and the exit code carries through. Cross platform -- works on Unix or Windows.

mobiledevice - Command line utility for interacting with Apple's Private (Closed) Mobile Device Framework

  •    C++

After compiling/installing mobiledevice, open a terminal console. On failure, all commands exit with status code set to a non-zero value, and some print messages to stderr indicating the kind of error.

swatd - Run a script when one or more sensors fail.

  •    C

SWATd lets you configure 'sensors' that check your PC's external environment. When enough sensors 'fail', SWATd will run a script for you. Sensors are commands or scripts that get executed repeatedly. A sensor is said to fail when its exit code makes a transition from zero (working) to non-zero (not working). This makes configuration easy and powerful. For example, you can make a sensor that checks if your website is online, and then make a command to alert you when the sensor fails.

tty-command - Execute shell commands with pretty output logging and capture stdout, stderr and exit status

  •    Ruby

Run external commands with pretty output logging and capture stdout, stderr and exit status. Redirect stdin, stdout and stderr of each command to a file or a string. TTY::Command provides independent command execution component for TTY toolkit.

muxado - Stream multiplexing for Go

  •    Go

muxado implements a general purpose stream-multiplexing protocol. muxado allows clients applications to multiplex any io.ReadWriteCloser (like a net.Conn) into multiple, independent full-duplex byte streams.muxado is a useful protocol for any two communicating processes. It is an excellent base protocol for implementing lightweight RPC. It eliminates the need for custom async/pipeling code from your peers in order to support multiple simultaneous inflight requests between peers. For the same reason, it also eliminates the need to build connection pools for your clients. It enables servers to initiate streams to clients without building any NAT traversal. muxado can also yield performance improvements (especially latency) for protocols that require rapidly opening many concurrent connections.

zsh-notify - Desktop notifications for long-running commands in zsh.

  •    Shell

A plugin for the Z shell that posts desktop notifications when a command terminates with a non-zero exit status or when it took more than 30 seconds to complete, if the terminal application is in the background (or the terminal tab is inactive). When using the default notifier notifications are posted using on Mac OS X and notify-send on other systems.

stderred - stderr in red

  •    C

stderr in red. stderred hooks on write() and a family of stream functions (fwrite, fprintf, error...) from libc in order to colorize all stderr output that goes to terminal thus making it distinguishable from stdout. Basically it wraps text that goes to file with descriptor "2" with proper ANSI escape codes making text red.

AndroidShell - Execute shell commands on Android.

  •    Java

Execute shell commands on Android. The result will contains the exit code, standard output (stdout), and standard error (stderr).

browser-run - The easiest way of running code in a browser environment

  •    Javascript

The easiest way of running code in a browser environment.By using --input html or { input: 'html' } you can provide a custom html file for browser-run to use. Keep in mind though that it always needs to have <script src="/reporter.js"></script> above other script tags so browser-run is able to properly forward your console.logs etc to the terminal.

multipipe - A better `Stream

  •    Javascript

A better Stream#pipe that creates duplex streams and lets you handle errors in one place.Write to the pipe and you'll really write to the first stream, read from the pipe and you'll read from the last stream.

bulletproofs - Bulletproofs are short non-interactive zero-knowledge proofs that require no trusted setup

  •    Haskell

Bulletproofs are short zero-knowledge arguments of knowledge that do not require a trusted setup. Argument systems are proof systems with computational soundness. Bulletproofs are suitable for proving statements on committed values, such as range proofs, verifiable suffles, arithmetic circuits, etc. They rely on the discrete logarithmic assumption and are made non-interactive using the Fiat-Shamir heuristic.

spawnling - spawn gem for Rails to easily fork or thread long-running code blocks

  •    Ruby

2013-4-15 gem renamed from "spawn-block" (lame) to "spawnling" (awesome). Sadly the name "spawn" was taken before I got around to making this into a gem so I decided to give it a new name and a new home. Also, now runs with ruby 1.9 (and later). Because ruby "stole" the name "spawn", this gem now has been redefined to use "" instead of "spawn(&block)". Other than that nothing has changed in the basic usage. Read below for detailed usage.

TDengine - Big data platform designed and optimized for the Internet of Things

  •    C

TDengine is an open-source big data platform designed and optimized for Internet of Things (IoT), Connected Vehicles, and Industrial IoT. Besides the 10x faster time-series database, it provides caching, stream computing, message queuing and other functionalities to reduce the complexity and costs of development and operations.

Apache StreamPipes - A self-service (Industrial) IoT toolbox to enable non-technical users to connect, analyze and explore IoT data streams

  •    Java

Apache StreamPipes is a self-service (Industrial) IoT toolbox to enable non-technical users to connect, analyze and explore IoT data streams. It can Integrate data sets and data streams using the built-in StreamPipes Connect library with support for generic protocols such as HTTP, Kafka, MQTT, OPC-UA, Files or specific adapters for open data sources.

download - Download and extract files

  •    Javascript

See download-cli for the command-line version.Returns both a Promise<Buffer> and a Duplex stream with additional events.

oppressor - streaming http compression response negotiator

  •    Javascript

Return a duplex stream that will be compressed with gzip, deflate, or no compression depending on the accept-encoding headers sent.oppressor will emulate calls to http.ServerResponse methods like writeHead() so that modules like filed that expect to be piped directly to the response object will work.

expressworks - Learn Express

  •    Javascript

Learn Express.js from the author of one of the best books on Express.js—Pro Express.js—workshop to teach you basics of Express.js.This workshop is based on workshopper and inspired by stream-adventure by @substack and @maxogden.

kage - Kage (kah-geh) is a shadow proxy server to duplex HTTP requests

  •    Ruby

Kage (kah-geh) is an HTTP shadow proxy server that sits between clients and your server(s) to enable "shadow requests". Kage can be used to duplex requests to the master (production) server and shadow servers that have newer code changes that are going to be deployed. By shadowing requests to the new code you can make sure there are no big/surprising changes in the response in terms of data, performance and database loads etc.

message-io - Fast and easy-to-use event-driven network library.

  •    Rust

message-io is a fast and easy-to-use event-driven network library. The library handles the OS socket internally and offers a simple event message API to the user. It also allows you to make an adapter for your own transport protocol following some rules, delegating the tedious asynchrony and thread management to the library. Managing sockets is hard because you need to fight with threads, concurrency, full duplex, encoding, IO errors that come from the OS (which are really difficult to understand in some situations), etc. If you make use of non-blocking sockets, it adds a new layer of complexity: synchronize the events that come asynchronously from the Operating System.

Zio - A type-safe, composable library for async and concurrent programming in Scala

  •    Scala

ZIO is a zero-dependency Scala library for asynchronous and concurrent programming. It is powered by highly-scalable, non-blocking fibers that never waste or leak resources, ZIO lets you build scalable, resilient, and reactive applications that meet the needs of your business.

We have large collection of open source products. Follow the tags from Tag Cloud >>

Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.