|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Shell
Interface defining a shell within which commands can be run
| Method Summary | |
|---|---|
ProcessManager |
exec(ExecDescriptor execDescriptor)
Execute a command, returning a ProcessManager |
void |
setShellTemplate(String template)
Set the template to generate a script that will be executed in the background. |
| Method Detail |
|---|
ProcessManager exec(ExecDescriptor execDescriptor)
throws IOException
ProcessManager
execDescriptor - The descriptor for the service control adapter
ProcessManager for managing the started Process
IOException - if the command cannot be executedvoid setShellTemplate(String template)
template - The template, to be loaded as a classpath resource, used
to generate a platform specific script to execute a command in the
background.
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||