Class ForkExec
java.lang.Object
ecmwf.common.technical.ForkAbstract
ecmwf.common.technical.ForkExec
-
Field Summary
Fields inherited from class ecmwf.common.technical.ForkAbstract
DISC_QUOTA_EXCEEDED, ECFS_NOT_AVAILABLE, NO_SUCH_FILE_OR_DIRECTORY, PERMISSION_DENIED, UNKNOWN_ERROR -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ecmwf.common.technical.ForkAbstract
check, check, check, getError, getMessage, interrupted, restarted, setKillOnTimeOut, toString, writeInto
-
Constructor Details
-
ForkExec
-
ForkExec
-
-
Method Details
-
close
public void close()Close. Close.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classForkAbstract
-
start
Start. Start.- Specified by:
startin classForkAbstract- Throws:
IOException- Signals that an I/O exception has occurred.
-
kill
public boolean kill()Kill. Kill.- Specified by:
killin classForkAbstract- Returns:
- true, if successful
-
getInputStream
Gets the input stream. Gets the input stream.- Specified by:
getInputStreamin classForkAbstract- Returns:
- the input stream
- Throws:
IOException- Signals that an I/O exception has occurred.
-
getCommand
Gets the command. Gets the command.- Specified by:
getCommandin classForkAbstract- Returns:
- the command
-
waitFor
Wait for.- Returns:
- the int
- Throws:
InterruptedException- the interrupted exception
-