aoyuEra opened a new issue, #17323: URL: https://github.com/apache/dolphinscheduler/issues/17323
### 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 Configure the remote shell task, the shell runs successfully, but during the final state resolution, String logLine=runRemote (trackCommand); The extracted content of this code is a string like "DOLPHINSCHEDULER-REMOTE-SHELL-TASK-STATUS-0 \ n", which causes an error in the subsequent Integer. parseInt (status). ### What you expected to happen String logLine = runRemote(trackCommand); The extracted content of this code is "DOLPHINSCHEDULER-REMOTE-SSHELL-TASK-STATUS-0", remove the "\ n" after it. ### How to reproduce Shell script content: date ### Anything else _No response_ ### Version 3.2.x ### Are you willing to submit PR? - [ ] 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]
