I have the .sh file in my webproject and I am passing few arguments as a string to the .sh file. Is there any java code which runs .sh file with arguments
ex
I have xyz.sh in my src directory, I will pass few arguments through jsp page when I click to submit my command should run successfully
src/xyz.sh arg1 arg2 and this command should get execute successfully. Can this be done in java ?
Thanks in advance.
Aucun commentaire:
Enregistrer un commentaire