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

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