node-pty icon indicating copy to clipboard operation
node-pty copied to clipboard

how to check when execution has been completed

Open deflexable opened this issue 1 year ago • 0 comments
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
 })

deflexable avatar Mar 01 '24 14:03 deflexable