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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classForkAbstract
-
start
Start. Start.- Specified by:
start
in classForkAbstract
- Throws:
IOException
- Signals that an I/O exception has occurred.
-
kill
public boolean kill()Kill. Kill.- Specified by:
kill
in classForkAbstract
- Returns:
- true, if successful
-
getInputStream
Gets the input stream. Gets the input stream.- Specified by:
getInputStream
in classForkAbstract
- Returns:
- the input stream
- Throws:
IOException
- Signals that an I/O exception has occurred.
-
getCommand
Gets the command. Gets the command.- Specified by:
getCommand
in classForkAbstract
- Returns:
- the command
-
waitFor
Wait for.- Returns:
- the int
- Throws:
InterruptedException
- the interrupted exception
-