Question

4
Replies
896
Views
ARULDEVAN T.T (Devan)
Virtusa

Virtusa
IN
Devan Member since 2014 34 posts
Virtusa
Posted: June 29, 2017
Last activity: July 3, 2017
Posted: 29 Jun 2017 7:01 EDT
Last activity: 3 Jul 2017 2:02 EDT
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, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.