作者:贺娥岚761 | 来源:互联网 | 2023-05-21 17:15
What is this PR for?The problem is that command "bash -c " will always return 0 as long as the last
What is this PR for?
The problem is that command "bash -c " will always return 0 as long as the last line of shell script run correctly. e.g the following command will run correctly without any error message.
This PR will redirect stderr and stdout to the same place, and will display both the stderr and stdout to frontend just like what user see in the native shell terminal. So the output of above command will be as following
1 2
| bash: hello: command not found
/Users/jzhang/github/zeppelin |
What type of PR is it?
[Bug Fix]
What is the Jira issue?
- https://issues.apache.org/jira/browse/ZEPPELIN-1225
How should this be tested?
Unit test is added and also manually verify it on zeppelin notebook.
Screenshots (if appropriate)
Questions:
- Does the licenses files need update? No
- Is there breaking changes for older versions? No
- Does this needs documentation? No
该提问来源于开源项目:apache/zeppelin
Merged into master. However, it wasn't able to be merged in branch-0.6 with conflict.
So I'm resolving issue ZEPPELIN-1225 with fixversion 0.7.0.
You can always create PR to branch-0.6, when you think this patch should be included in branch-0.6.