Skip to content

iiegor/ptyw.js

 
 

Repository files navigation

ptyw.js Dependency Status Build Status

A fork of pty.js to have a more updated module.

API

spawn(command[, args, opts])

command
Type: String
args
Type: Array
opts
Type: Object

Example:

ptyw.spawn('java', ['-version'], {
  cols: 80,
  rows: 30,
  env: process.env
});

About

Bindings to forkpty(3) for node.js.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 51.7%
  • JavaScript 44.3%
  • Python 3.3%
  • Makefile 0.7%