cancel
Showing results for 
Search instead for 
Did you mean: 

Executing a shell script on the OS

thestorm
Champ in-the-making
Champ in-the-making
Dear all,

is it possible, to add a custom action to Share that is executing a command / script on the operating system? I know how to add a custom documentLibrary action but I have no clue on how to start a script (batch/shell) that performs some OS tasks, once my Action is done.

thanks for your help
1 REPLY 1

binduwavell
Star Contributor
Star Contributor
Have you looked at
java.lang.Runtime.getRuntime().exec()‍
or 
java.lang.ProcessBuilder‍
?