pty 0.1.1
pty: ^0.1.1 copied to clipboard

Pty for Dart and Flutter. Provides the ability to create processes with pseudo terminal file descriptors.

pty #

GitHub repo size GitHub issues GitHub pull requests

Pty for Dart and Flutter. Provides the ability to create processes with pseudo terminal file descriptors.

Status #

PlatformJIT(Debug)AOT(Release)
WindowsCrashPassed
Linux x64PassedPassed
Linux x86Not testedNot tested
macOSPassedPassed

Usage #

A simple usage example:

import 'package:pty/pty.dart';

void main() async {
  final pty = PseudoTerminal.start('bash', []);

  pty.write('ls\n');

  pty.out.listen((data) {
    print(data);
  });

  print(await pty.exitCode);
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

License #

This project is licensed under an MIT license.

1
likes
80
pub points
56%
popularity

Pty for Dart and Flutter. Provides the ability to create processes with pseudo terminal file descriptors.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

xty50337@gmail.com

License

MIT (LICENSE)

Dependencies

ffi, win32

More

Packages that depend on pty