Question4Replies768Views Devan Member since 2014 34 posts Virtusa Posted: 3 years agoLast activity: 3 years 3 months ago 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 Data Integration ×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 agoSwarnenduM Infosys replied to DevanHi, Did you check the permission of the Pega user to create the directory? Posted: 3 years agoUjjwalShukla_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 agoDevan 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 agoTigranAirapetian PEGA replied to DevanProviding the entire directory path has resolved the issue. Thank you Aruldevan!