pty 0.1.1 copy "pty: ^0.1.1" to clipboard
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 #

Platform JIT(Debug) AOT(Release)
Windows Crash Passed
Linux x64 Passed Passed
Linux x86 Not tested Not tested
macOS Passed Passed

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);
}
copied to clipboard

Features and bugs #

Please file feature requests and bugs at the issue tracker.

License #

This project is licensed under an MIT license.

8
likes
120
points
60
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.05 - 2025.03.20

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

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

ffi, win32

More

Packages that depend on pty