Zzih96 opened a new issue, #15907:
URL: https://github.com/apache/dolphinscheduler/issues/15907

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   The RemoteShellTask `getTaskExitCode` method may encounter situations where 
it cannot retrieve the exit code properly.
   
   For example, in the following code, when curl returns a value, the exit code 
may not be parsed correctly.
   <img width="534" alt="image" 
src="https://github.com/apache/dolphinscheduler/assets/158246610/d9463aa0-1fa0-4466-b432-c8b1f37eddb9";>
   <img width="1218" alt="image" 
src="https://github.com/apache/dolphinscheduler/assets/158246610/cb66f8f7-1bb3-4a88-80d9-e74f782e76a6";>
   
   
   
   ### What you expected to happen
   
   see above
   
   ### How to reproduce
   
   see above
   
   ### Anything else
   
   No response
   
   ### Version
   
   dev
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to