Skip to content

Split a terminal window up into multiple parallel commands

Notifications You must be signed in to change notification settings

pthrasher/node-split-spawn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-split-spawn

javascript terminal multiplexer and command runner

Example

import run from 'split-spawn';

commands = ['echo 1 && sleep 1', 'ls -lA && sleep 1 && ls -l && sleep 1 && ls -l --color=always /var/log/'];

run(commands);

How to exit? Ctrl+c or q

How to see output of selected command? Use arrows (up/down then enter)

Credits:

Most code originated from: https://github.com/tomfun/node-shell-commandor

About

Split a terminal window up into multiple parallel commands

Resources

Stars

Watchers

Forks

Packages

No packages published