Skip to main content

clojure.java.process

E

  • exec

    Execute a command and on successful exit, return the captured output, else throw RuntimeException. Args are the same a...

  • exit-ref

    Given a Process (the output of 'start'), return a reference that can be used to wait for process completion then retur...

F

  • from-file

    Coerce f to a file per clojure.java.io/file and return a ProcessBuilder.Redirect reading from the file. This can be pa...

I

S

  • start

    Start an external command, defined in args. The process environment vars are inherited from the parent by default (u...

  • stderr

    Given a process, return the stderr of the external process (an InputStream)

  • stdin

    Given a process, return the stdin of the external process (an OutputStream)

  • stdout

    Given a process, return the stdout of the external process (an InputStream)

T

  • to-file

    Coerce f to a file per clojure.java.io/file and return a ProcessBuilder.Redirect writing to the file. Set ':append' in...