[gambit-list] Process stdout redirection
C K Kashyap
ckkashyap at gmail.com
Tue Mar 20 10:28:41 EDT 2018
Hello all,
I was hoping for this program to redirect the output of the forked process
into a file -
(define program
(list path: "ls" stdout-redirection: #f arguments: (list "-l")))
(with-output-to-file
(list path: "output.txt")
(lambda ()
(open-process program)))
But that does not seem to happen. I am not sure what I am missing here.
Regards,
Kashyap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20180320/12652ad8/attachment.htm>
More information about the Gambit-list
mailing list