Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 552 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 552 Bytes

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