JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 11034
  • Score
    100M100P100Q128742F
  • License MIT

Invoke multiple commands, running in parallel

Package Exports

  • parallelshell

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (parallelshell) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Parallel Shell

This is a super simple npm moudle 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.

Install

Simply run the following to install this to your project:

npm i --save-dev parallelshell

Or, to install it globally, run:

npm i -g parallelshell

Usage

To use the command, simply call it with a set of strings - which correspond to shell arguments, for example:

parallelshell 'echo 1' 'echo 2' 'echo 3'

This will execute the commands echo 1 echo 2 and echo 3 simultaneously.