net.dankito.utils.process.CommandConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-utils Show documentation
Show all versions of java-utils Show documentation
Some basic utils needed in many projects
package net.dankito.utils.process
import java.io.File
open class CommandConfig @JvmOverloads constructor(
val commandArgs: List,
val workingDir: File? = null,
val environmentVariables: Map = mapOf(),
val logErrors: Boolean = true
) {
override fun toString(): String {
return commandArgs.joinToString(" ")
}
}