Skip to content

how to check when execution has been completed #668

Closed

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

  1. locked and limited conversation to collaborators on Dec 17, 2024
  2. converted this issue into a discussion #742 on Dec 17, 2024
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