Skip to content

how to check when execution has been completed #668

Description

@deflexable

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
 })

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions