[xcvb-devel] run-program unit test failures

Peter Keller psilord at cs.wisc.edu
Tue Apr 26 18:45:27 UTC 2011


On Tue, Apr 26, 2011 at 02:17:11PM -0400, Faré wrote:
> > What is the intended usage of run-program/process-output-stream?
> >
> If the command given to run-program/* is a list,
> then it directly encodes the values for executed program's argv,
> as passed to execve or spawn or equivalent.
>
> If it's a string, then it's a command passed to the shell
> or command interpreter, as in "/bin/sh" "-c" "command..."
> or (under Windows) "CMD /C command...".

> Definitely requires more documentation, though.
> 
> Test cases also make for great documentation.

Ok, I'll write some more test cases and document the function with some 
doctrings or something. Thanks for the pointer with the intention of the
interface! That better clears up how I need to test it.

Later,
-pete.




More information about the xcvb-devel mailing list