node-pty
node-pty copied to clipboard
how to check when execution has been completed
trafficstars
Environment details
- OS:
- OS version:
- node-pty version:
Issue description
is there a method to check when an execution completes after a command was written, for example:
ptyInstance.write('echo test', () => {
// execution has been completed
})