1.0.1 • Published 7 years ago

rcshell v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

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
});
1.0.1

7 years ago

1.0.0

9 years ago