[Pharo-project] [Vm-dev] Re: Can OSProcess functionality be implemented using FFI instead of plugin?

Mariano Martinez Peck marianopeck at gmail.com
Sat Jan 16 14:35:39 UTC 2016


On Sat, Jan 16, 2016 at 11:33 AM, Levente Uzonyi <leves at caesar.elte.hu>
wrote:

>
> On Sat, 16 Jan 2016, Mariano Martinez Peck wrote:
>
> (No quote, thanks google.)
>
> Forking a process is easy compared to communicating with it. How would you
> do the latter with FFI?


Hi Levente,

I am not sure if I understand the question. For OSSubprocess I use 2 ways
of communicating the parent and the child, either with pipes or with
regular files, both cases doing a dup2() of those to the standard streams.
Same way as OSProcess does as far as I am concern.

Cheers,



-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160116/bf04f8ca/attachment.htm


More information about the Vm-dev mailing list