Process
General
16Convenience macro around `process`. Takes command as varargs. Options can be passed via metadata on the form or as a f...
macrobabashka.process
Dynamic var containing overridable default options. Use `alter-var-root` to change permanently or `binding` to change ...
valuebabashka.process
Returns `true` if the process is still running and false otherwise.
functionbabashka.process
Takes a process, waits until is finished and throws if exit code is non-zero.
functionbabashka.process
Destroys the process and returns the input arg. Takes process or map with :proc (`java.lang.ProcessBuilder`).
functionbabashka.process
Same as `destroy` but also destroys all descendants. JDK9+ only. Falls back to `destroy` on older JVM versions.
functionbabashka.process
Replaces the current process image with the process image specified by the given path invoked with the given args. Wor...
functionbabashka.process
Parses arguments to `process` to map with: * `:prev`: a (previous) process whose input is piped into the current proc...
functionbabashka.process
Returns a process builder (as record).
functionbabashka.process
Returns the processes for one pipe created with -> or creates pipeline from multiple process builders. - When passi...
functionbabashka.process
Creates a child process. Takes a command (vector of strings or objects that will be turned into strings) and optionall...
functionbabashka.process
Same as with `process` but called with parsed arguments (the result from `parse-args`)
functionbabashka.process
Convenience function similar to `clojure.java.shell/sh` that sets `:out` and `:err` to `:string` by default and blocks...
functionbabashka.process
Convenience function around `process` that was originally in `babashka.tasks`. Defaults to inheriting I/O: input is re...
functionbabashka.process
Takes a process builder, calls start and returns a process (as record).
functionbabashka.process
Tokenize string to list of individual space separated arguments. If argument contains space you can wrap it with `'` o...
functionbabashka.process
- function
babashka.signal