Execution of shell script in AEM
Hi All,
I have requirement to get the AEM user input from form and send it to shell script and execute it and respond back to the user.
Shell script located in another location instead of aem server.
Does anyone worked on the same requirements.
I have tried process builder
But not able to access shell and execute it in AEM.
String command="/bin/bash"+""+param1;
Process process=new processbuilder(command)
Above code is working fine in Java .
Anything help would be appreciated.
Thanks