[iolib-devel] Library for run child processes

Andrey Moskvitin archimag at gmail.com
Tue Jun 8 08:12:10 UTC 2010


Stelian,

> I added to iolib.os a different
> implementation that calls posix_spawn(3)

Great, I agree that posix_spawn is a better solution than fork/exec.

> The implementation is currently not very complete

I rewrite your code, so that it now passes my tests.

I tested it on Linux with SBCL, Clozure CL and CLISP.

My code in fork iolib:
http://gitorious.org/~archimag/iolib/archimag-iolib/blobs/master/src/os/create-process-unix.lisp
My tests: http://gitorious.org/iolib-test/iolib-test/blobs/master/process.lisp

Andrey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iolib-create-process.patch
Type: text/x-patch
Size: 10155 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/iolib-devel/attachments/20100608/6181b983/attachment.bin>


More information about the iolib-devel mailing list