CmdProcess
A cmd line process
Attributes
- Graph
-
- Supertypes
-
trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
interrupt/destroy the currently running process
interrupt/destroy the currently running process
Attributes
destroys the process forcibly (die!!!!!)
destroys the process forcibly (die!!!!!)
Attributes
interrupt/destroy the current process and handle failure to do so (after a graceperiod of 100ms)
interrupt/destroy the current process and handle failure to do so (after a graceperiod of 100ms)
Value parameters
- orElse
-
what to do if the process did not terminate
Attributes
interrupt/destroy the current process and handle failure to do so
interrupt/destroy the current process and handle failure to do so
Value parameters
- gracePeriod
-
graceperiod to check if successfull
- orElse
-
what to do if the process did not terminate
- unit
-
graceperiod time unit
Attributes
get the process exit value
get the process exit value
Attributes
- Returns
-
the exit value (error if not yet terminated)
get the stderr output (so far) of the process
get the stderr output (so far) of the process
Attributes
- Returns
-
the output (so far) of the process
get the stdout output (so far) of the process
get the stdout output (so far) of the process
Attributes
- Returns
-
the output (so far) of the process
returns the wrapped java.Process
returns the wrapped java.Process
Attributes
- Returns
-
the wrapped java.Process
checks if the underlying process is alive
checks if the underlying process is alive
Attributes
- Returns
-
true if the underlying process is alive
set the log level of the current process
set the log level of the current process
Value parameters
- level
-
the log level
Attributes
- Returns
-
the current process
wait for the process to terminate
wait for the process to terminate
Value parameters
- timeout
-
timeout length
- unit
-
timeout unit
Attributes
- Returns
-
whether the process terminated within the allotted time
waits for the process to terminate and handles success/failure
waits for the process to terminate and handles success/failure
Type parameters
- T
-
the return type of both succces and failure
Value parameters
- onFailure
-
what to do if the process does not terminate on time
- onSuccess
-
what to do if the process terminates on time
- timeout
-
timout length
- unit
-
timeout unit
Attributes
- Returns
-
the value returned by success/failure
Inherited methods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods