Skip to content

Repository files navigation

pty

GitHub repo sizeGitHub issuesGitHub pull requests

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

Status

test

PlatformJIT(Debug)AOT(Release)
WindowsCrashWorks
Linux x64WorksWorks
Linux x86Not testedNot tested
macOSWorksWorks

Usage

A simple usage example:

import'package:pty/pty.dart';
voidmain() 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.

About

Pty for Dart and Flutter.

Topics

Resources

Stars

37 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages