# pty
**Repository Path**: yuhua/pty
## Basic Information
- **Project Name**: pty
- **Description**: No description available
- **Primary Language**: Dart
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2022-02-26
- **Last Updated**: 2022-02-26
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# pty
Pty for Dart and Flutter. Provides the ability to create processes with pseudo terminal file descriptors.
## Status
[](https://github.com/TerminalStudio/pty/actions/workflows/dart.yml)
| **Platform** | **JIT(Debug)** | **AOT(Release)** |
| ------------- | :------------: | :--------------: |
| **Windows** | Crash | Works |
| **Linux x64** | Works | Works |
| **Linux x86** | Not tested | Not tested |
| **macOS** | Works | Works |
## Usage
A simple usage example:
```dart
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][tracker].
[tracker]: https://github.com/TerminalStudio/pty/issues
## License
This project is licensed under an MIT license.