mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Fix RunCommand logging.
This commit is contained in:
parent
c09f73cf94
commit
eedc0cfbb1
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ open class RunCommand(val command: String) {
|
||||||
val pb = ProcessBuilder(allArgs)
|
val pb = ProcessBuilder(allArgs)
|
||||||
pb.directory(directory)
|
pb.directory(directory)
|
||||||
log(2, "Running command in directory ${directory.absolutePath}" +
|
log(2, "Running command in directory ${directory.absolutePath}" +
|
||||||
"\n " + allArgs.joinToString(" ").replace("\\", "/"))
|
"\n " + allArgs.joinToString(" "))
|
||||||
val process = pb.start()
|
val process = pb.start()
|
||||||
pb.environment().let { pbEnv ->
|
pb.environment().let { pbEnv ->
|
||||||
env.forEach {
|
env.forEach {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue