pid property
int
get
pid
The process id of the process running in the pseudo-terminal.
Implementation
int get pid {
if (_isDestroyed) {
throw StateError('PTY has been destroyed');
}
return _bindings.pty_getpid(_handle);
}