-
Notifications
You must be signed in to change notification settings - Fork 304
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
Command output not found in message property #593
Comments
I'm beginning to think that something upstream has changed. Using xdebug I find that |
This was my fault -- I introduced a breaking change. Can you switch to |
Thanks for the prompt reply, Greg! I encountered the breaking change and worked around with However it does not remedy this issue -
This utility method fails to detect the existing container so it fails:
I'll keep trying to understand why other processes capture a message but not this one. |
Got it! My working commands that examine output also use |
Thx @FatherShawn |
@greg-1-anderson Could you please explain what is the purpose of ExecTrait::execute() has and output callback that calls |
Sidenote: Also received an empty result message and solved it, by adding a |
I can confirm this is still a problem with Robo 1.5.0. When using
|
Steps to reproduce
I recently updated from 1.0.6 to 1.0.8. I updated the following code for the changes in result output by providing calls to
provideOutputdata()
.Expected behavior
I see the results of my TaskExec in the terminal, so the command is running. It should be captured to the
message
property of the the Result object.Actual behavior
In this instance
result->getOutputData()
still returns an empty string.System Configuration
macOS 10.12.5
PHP 5.6.30 (cli) (built: Mar 11 2017 09:56:27)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Xdebug v2.5.3, Copyright (c) 2002-2017, by Derick Rethans
The text was updated successfully, but these errors were encountered: