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

sqlInsert Command does not return a status code #395

Open
Gamesh opened this issue Feb 8, 2016 · 0 comments
Open

sqlInsert Command does not return a status code #395

Gamesh opened this issue Feb 8, 2016 · 0 comments

Comments

@Gamesh
Copy link

Gamesh commented Feb 8, 2016

SqlInsert command and probably others as well does not return a return status code. As noted in the documentation:
Eventually, calling the run() method actually executes the command and returns the returned code from the command (return value from command's execute() method)

without that code it's impossible to know if the console command executed correctly or it failed.
So it kind of can't be used correctly with bash scripts, phing tasks or other that relay on return status code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants