pty2 0.4.0
pty2: ^0.4.0 copied to clipboard
Pty2 for Dart and Flutter. Provides the ability to create processes with pseudo terminal file descriptors.
pty #
Pty for Dart and Flutter. Provides the ability to create processes with pseudo terminal file descriptors.
Status #
I'm hacking to keep this working for my needs.
Usage #
A simple usage example:
import 'package:pty2/pty.dart';
void main() async {
final pty = PseudoTerminal.start('bash', []);
pty.write('ls\n');
pty.out.listen((data) {
print(data);
});
print(await pty.exitCode);
}