-
Notifications
You must be signed in to change notification settings - Fork 37
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
No output after grep command #82
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I'm trying to "grep" a log for an event and grab its timestamp. The code below only seems to work when a match its found, so I get
Resolved ssh command execution
,success
, and the promise is resolved (timestamp) and returned back for further processing.I'm stuck in that if there are no matches from the grep (because the event hasn't happened yet - I'm calling it periodically from a polling function), there is no "resolution". The only output that I see is
success
. How can I handle that lack of output?So, technically, the command executed without errors but there is no stdout for it?
The text was updated successfully, but these errors were encountered: