summaryrefslogtreecommitdiff
path: root/doc/capture-stdout.scm
blob: b9b67747d7d5faee665d1e860d9b4de1bceba342 (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))