Skip to content

daguej/node-rcshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rcshell

rcshell is the remote control shell. It runs commands in a separate PTY and reports back to you when they finish.

Example

var RCShell = require('rcshell'),
	shell= new RCShell();

shell.run('ls', ['-al', '--color'], function(err, result) {
	// `err` if there is a problem spawning the process, otherwise
	// `result.code` will have the process's exit code.
});

shell.host.on('data', function(data) {
	// `data` that got printed to the terminal
	// this will include control sequences
});

About

The remote control shell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published