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

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