abstract class RustToolBase
This class has the ability to call another application from this application.
<init> |
This class has the ability to call another application from this application. RustToolBase() |
additionalEnvironment |
Set the environment variables used when running the application. val additionalEnvironment: MutableMap<String, String> |
executable |
Set the path to the executable file. For relative paths, it is resolved based on workingDirectory. If only the file name is set, not the path, the location of the executable is searched from the environment variable PATH. abstract val executable: String |
workingDirectory |
Set the path to use as the working directory when running the application. var workingDirectory: Path? |
run |
Run external applications synchronously. Wait for the executed application to complete. fun run(args: List<String>): Stringfun run(vararg args: String): Stringfun run(commands: List<String>, options: OptionBuilder): Stringfun run(command: String, options: OptionBuilder): String |
Cargo |
Wraps the functionality of the cargo command. class Cargo : RustToolBase |
Rustup |
Wraps the functionality of the options command. class Rustup : RustToolBase |