Execute shell script from PEGA
Hello ,
My requirement is to execute a shell script from PEGA 8.3.
I tried the below code and it is throwing vulnerable code detected error (Please see the SS). In order to resolve this I created a new DSS as mentioned in help article https://community.pega.com/sites/default/files/help_v83/procomhelpmain.htm#security/rule-security/configuring-java-injection-check-tsk.htm, but it did not seem to work.
Code tried:
try{ new ProcessBuilder("/apps/Myshellscript.sh").start(); } catch(java.io.IOException ioEx) { throw new PRRuntimeException(ioEx); }
***Edited by Moderator: Pallavi to update support request details***