Question

4
Replies
822
Views
Close popover
ARULDEVAN T.T (Devan)
Virtusa

Virtusa
IN
Devan Member since 2014 34 posts
Virtusa
Posted: June 29, 2017
Last activity: July 3, 2017
Closed
Solved

Invoke shell script from PEGA

Hi All,

While invoking a shell script from PEGA (java step in a activity), many commands like mkdir are not working.

i have tried the below

ProcessBuilder pb = new ProcessBuilder("myshellScript.sh");

and also

Process p = Runtime.getRuntime().exec("/jboss/support/temp/pegatemp/DEV_CELL_CEMS_LN_02/mysh.sh");

Could someone help in resolving this script

Thanks,

Aruldevan

Low-Code App Development Data Integration Java and Activities
Moderation Team has archived post