[xcvb-devel] run-program/process-output-stream

Peter Keller psilord at cs.wisc.edu
Thu Apr 14 05:59:44 UTC 2011


Hello,

Suppose I call this function like this:

(run-program/process-output-stream '("echo" "string") 'slurp-stream-lines)

I get back this list:
("string") ;; notice no newline.

Now suppose I call it like this:

(run-program/process-output-stream '("echo" "string") 'slurp-stream-string)

I would then get back:

"string
"
       ^ Notice the newline

Is this the expected behavior for this function wrt these output-processors?

Thank you.

-pete




More information about the xcvb-devel mailing list