Executing a shell script on the OS

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2013 12:10 PM
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
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
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2013 02:37 PM
Have you looked at
java.lang.Runtime.getRuntime().exec()
or java.lang.ProcessBuilder
?
