Package org.aksw.shellgebra.exec
Interface SysRuntime
- All Known Subinterfaces:
SysRuntimeWrapper<X>
- All Known Implementing Classes:
SysRuntimeImpl,SysRuntimeWrapperBase
public interface SysRuntime
-
Method Summary
Modifier and TypeMethodDescriptionString[]compileCommand(CmdOp op) voidcreateNamedPipe(Path path) Create a named pipe at the given path.quoteFileArgument(String fileName) Quote a filename for use as an argument.default String[]resolveCommand(String... cmd) Resolve the first argument of the array againstwhich(String).
-
Method Details
-
which
- Throws:
IOExceptionInterruptedException
-
quoteFileArgument
Quote a filename for use as an argument. -
compileCommand
-
getStrOps
CmdStrOps getStrOps() -
createNamedPipe
Create a named pipe at the given path.- Throws:
IOException
-
resolveCommand
Resolve the first argument of the array againstwhich(String). Returned array is always a copy.- Throws:
IOExceptionInterruptedException
-