Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to check when execution has been completed #668

Open
deflexable opened this issue Mar 1, 2024 · 0 comments
Open

how to check when execution has been completed #668

deflexable opened this issue Mar 1, 2024 · 0 comments

Comments

@deflexable
Copy link

deflexable commented Mar 1, 2024

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
 })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant