[plt-scheme] process.ss bug
I don't think so: process returns a list. Perhaps you meant to write
(apply values (process "/usr/bin/ls"))
on the rhs of the let-values?
Robby
At Mon, 29 May 2006 16:18:17 +0100, "Paulo J. Matos" wrote:
> Hi all, (DrScheme, version 301.16-svn25may2006)
>
> (let-values ([(stdout stdin pid stderr proc) (process "/usr/bin/ls")])
> (printf "DONE!"))
>
> This results in:
> context (lexical binding) expected 5 values, received 1 value:
> (#<input-port:subprocess-stdout> #<output-port:subprocess-stdin> 13702
> #<input-port:subprocess-stderr> #<procedure:control>)
>
> A bug?
>
> Cheers,
> --
> Paulo Jorge Matos - pocm at sat inesc-id pt
> Web: http://sat.inesc-id.pt/~pocm
> Computer and Software Engineering
> INESC-ID - SAT Group
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme