Question4Replies822Views×Close popoverARULDEVAN T.T (Devan) Virtusa Virtusa IN View ProfileSend Message Devan Member since 2014 34 posts Virtusa Posted: June 29, 2017Last activity: July 3, 2017Posted: 29 Jun 2017 7:01 EDTLast activity: 3 Jul 2017 2:02 EDT Closed Solved Invoke shell script from PEGAHi All,While invoking a shell script from PEGA (java step in a activity), many commands like mkdir are not working.i have tried the belowProcessBuilder 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 scriptThanks,Aruldevan Low-Code App Development Data Integration Java and Activities ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! 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. Posted: 3 years agoPosted: 29 Jun 2017 7:12 EDT×Close popoverSwarnendu Mukherjee (SwarnenduM) Infosys Technology Architect Infosys AU View ProfileSend MessageSwarnenduM Infosys replied to DevanHi, Did you check the permission of the Pega user to create the directory? Posted: 3 years agoPosted: 29 Jun 2017 7:20 EDT×Close popoverUjjwal Kumar Shukla (UjjwalShukla_GCS) PEGA Technical Lead Pegasystems Inc. IN View ProfileSend MessageUjjwalShukla_GCS PEGA replied to DevanHi, Also you can try this outside pega with a standalone java program. It it works fine from java, then sure it has to do something with permission that pega requester is missing. Thanks, Ujjwal Accepted Solution Posted: 3 years agoPosted: 29 Jun 2017 11:44 EDT×Close popoverARULDEVAN T.T (Devan) Virtusa Virtusa IN View ProfileSend MessageDevan Virtusa replied to DevanHI All, The permisions for the user is all set. When im executing as standalone as a shell script or as a standalone java code from the path, it is working fine. I have tried mentioning the complete path and it is working fine now (mkdir /tmp/one) Thanks for all support. Thanks, Aruldevan Posted: 3 years agoPosted: 30 Jun 2017 18:08 EDT×Close popoverTigran Airapetian (TigranAirapetian) PEGA Software Solutions Engineer Pegasystems Inc. US View ProfileSend MessageTigranAirapetian PEGA replied to DevanProviding the entire directory path has resolved the issue. Thank you Aruldevan!