-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Return values #1122
Comments
Technically, the output of |
Thanks for the workaround. Effective although it feels a bit hacky. Maybe finding a way of returning a value, e.g. via a callback or promise, would make it just more clean IMHO |
If the |
Yes, I think it's a good idea to update the docs. I also noticed that if you use a logger, the |
Is there an existing issue that is already proposing this?
Is your feature request related to a problem? Please describe it
I need some way of returning values from a command (e.g. strings). But I see commands only return void.
Describe the solution you'd like
Return values from executed command
E.g.
I see the signature of the cmd.run interface is
Promise<void>
Is there any way of returning values?
Teachability, documentation, adoption, migration strategy
No response
What is the motivation / use case for changing the behavior?
Bash scripting, process forking
The text was updated successfully, but these errors were encountered: