Liking cljdoc? Tell your friends :D

Changelog

Babashka process Clojure library for shelling out / spawning sub-processes

0.4.14

  • Auto-load babashka.process.pprint if clojure.pprint was already loaded

0.4.13

  • Fix invocation with file argument

0.4.12

  • #95: Unify arg parsing for shell and process: the recommended syntax is now: (process opts? & args)

0.3.11

  • Add alive? to check if process is still alive (@grzm)
  • Update process' docstring to mention clojure standard streams (@ikappaki)
  • Slurp :err in check only if it is an input stream (@ikappaki)

0.2.10

  • Return deref-ed result to :exit-fn

0.2.9

  • Add :exit-fn to process: a one-argument function which will be called upon the termination of the process.

0.1.8

  • #84: fix tokenize with single-quoted strings inside double-quoted string

0.1.7

  • #76: error while loading babashka.process with older GraalVM libraries

0.1.4

  • #72: exec arg0 should be the program name by default
  • #73: support for Clojure 1.9

0.1.3

  • Add shell function that behaves similar to babashka.tasks/shell
  • Support string as value for :out and :err for writing to file

0.1.2

  • #53: Added namespace babashka.process.pprint which defines how to pprint a Process record (if loaded).
  • Added :pre-start-fnto process options, e.g. for printing the command before execution
  • Support exec but only in GraalVM binaries

0.1.1

Similar to tools.build.api/process, process now supports appending output to files. To reduce cognitive overhead between libraries, process adopted the same convention:

  • feat #44:
    • Support :out + (:write / :append) and :out-file + file
    • Support :err + (:write / :append) and :err-file + file

0.1.0

  • Resolve binaries on Windows using fs/which
  • String with backslash is tokenized incorrectly #47
  • Support deref with timeout #50 (@SevereOverfl0w)
  • Fix piping with $ macro #52

0.0.2

0.0.1

Initial release

Can you improve this documentation? These fine people already did:
Michiel Borkent & Bob
Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close