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