wForget commented on issue #1145: URL: https://github.com/apache/incubator-linkis/issues/1145#issuecomment-987580053
> 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 code seems to just change the `scala.Array` type to the `java.util.List` type. Can you display specific error messages? -- 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: dev-unsubscr...@linkis.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@linkis.apache.org For additional commands, e-mail: dev-h...@linkis.apache.org