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