mindflow94 commented on issue #1145:
URL: 
https://github.com/apache/incubator-linkis/issues/1145#issuecomment-984631917


   I tried to modify shellEngineConnExecutor's code and this issue was resolved.
   
   ```
   val processBuilder: ProcessBuilder = new 
ProcessBuilder(generateRunCodeToList(code))
     
   private def generateRunCodeToList(code: String): util.List[String] = {
       util.Arrays.asList("sh", "-c", code)
     }
   ```
   
   I didn't do the full test and didn't know if there would be any other risks.


-- 
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to