Process
Attributes
- Source
- Process.scala
- Graph
-
- Supertypes
- Self type
Members list
Value members
Concrete methods
Access the underlying Java Process wrapped in a blocking ZIO.
Return the exit code of this process.
Tests whether the process is still alive (not terminated or completed).
Tests whether the process is still alive (not terminated or completed).
Attributes
- Source
- Process.scala
Kills the process and will wait until completed. Equivalent to SIGTERM on Unix platforms.
Kills the process and will wait until completed. Equivalent to SIGTERM on Unix platforms.
Attributes
- Source
- Process.scala
Kills the process and will wait until completed. Equivalent to SIGKILL on Unix platforms.
Kills the process and will wait until completed. Equivalent to SIGKILL on Unix platforms.
Attributes
- Source
- Process.scala
Returns the native process ID of the process.
Returns the native process ID of the process.
This method requires JDK +9.
Attributes
- Source
- Process.scala
Access the standard output as an Java InputStream.
Return the exit code of this process if it is zero. If non-zero, it will fail with CommandError.NonZeroErrorCode.
Return the exit code of this process if it is zero. If non-zero, it will fail with CommandError.NonZeroErrorCode.
Attributes
- Source
- Process.scala
Inherited methods
Attributes
- Inherited from:
- ProcessPlatformSpecific (hidden)
- Source
- ProcessPlatformSpecific.scala
Kills the entire process tree and will wait until completed. Equivalent to SIGTERM on Unix platforms.
Kills the entire process tree and will wait until completed. Equivalent to SIGTERM on Unix platforms.
Note: This method requires JDK 9+
Attributes
- Inherited from:
- ProcessPlatformSpecific (hidden)
- Source
- ProcessPlatformSpecific.scala
Kills the entire process tree and will wait until completed. Equivalent to SIGKILL on Unix platforms.
Kills the entire process tree and will wait until completed. Equivalent to SIGKILL on Unix platforms.
Note: This method requires JDK 9+
Attributes
- Inherited from:
- ProcessPlatformSpecific (hidden)
- Source
- ProcessPlatformSpecific.scala
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Concrete fields
Access the standard error stream.
Access the standard output stream.