summaryrefslogtreecommitdiff
path: root/doc/capture-stdout.scm
blob: 1aed27788e902b9bd5e0c896c62dce6d2f2aa6b1 (plain)
1
2
3
4
5
6
7
(define print
  (command #:inputs (message #:type string)
           #:run "echo" message
           #:outputs (printed-message #:type 'stdout)))

(workflow ((message #:type string))
  (print #:message message))