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

when java exec sh script, we should redirect the error stream to log #348

Closed
heziai opened this issue Jan 25, 2018 · 1 comment
Closed

Comments

@heziai
Copy link
Member

heziai commented Jan 25, 2018

When java exec sh script, we should redirect the error stream to log. So we can know the real reason about the error.

@heziai heziai added this to the 3.0.0 milestone Jan 25, 2018
@heziai heziai self-assigned this Jan 25, 2018
@heziai heziai added the done label Jan 26, 2018
@heziai
Copy link
Member Author

heziai commented Jan 26, 2018

Fix the problem that the shell process cannot be force stopped: 699145c , the process's children should be killed firstly, then kill the process. Or else, the apache exec thread maybe blocked at streams.stop();, because the children is still running, so the streams cannot be closed.

@heziai heziai added done bug and removed done labels Jan 26, 2018
kfchu added a commit that referenced this issue Jan 27, 2018
@lanjane lanjane added the tested label Jan 29, 2018
@kfchu kfchu closed this as completed Feb 2, 2018
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