kotlin-shell icon indicating copy to clipboard operation
kotlin-shell copied to clipboard

Tool for performing shell-like programing in Kotlin

Results 4 kotlin-shell issues
Sort by recently updated
recently updated
newest added

Hi, super cool project! I need to define multiple `export`s like: ```bash export JAVA_OPTS='-Xms82G -Xmx82G -XX:+UseParallelGC' export EPISIM_SETUP='org.matsim.run.batch.DresdenCalibration' export EPISIM_PARAMS='org.matsim.run.batch.DresdenCalibration$Params' export EPISIM_INPUT='dresden' export EPISIM_OUTPUT='output-dresden' ``` I'd like another `::export` that...

enhancement

Is it possible to automatically throw on errors? Similar to `set -e`: ```kotlin shell { throwOnNonZeroStatus() // or simply throwOnError() ? // will fail the script if the zip file...

Currently `org.zeroturnaround.exec.ProcessExecutor` calls are logged, which leads to dangerous scenarios where sensitive environment info can be leaked into logs. Example ``` [[[SystemProcess 1] -1 git]_execution_thread] DEBUG o.z.exec.ProcessExecutor - Executing [git,...

bug

I am trying to run the following command in kotlin-shell: ` #!/usr/bin/env kscript import eu.jrie.jetbrains.kotlinshell.shell.* shell { println("wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | apt-key add -"()) } ` But it...