[Snek] [PATCH v3] snekserver: allow network connections to a snigle Snek instance

Misha Gusarov dottedmag at dottedmag.net
Mon May 18 13:49:11 PDT 2020


Hi Keith,

On 18 May 2020, at 21:44, Keith Packard wrote:

>> My current failed attempt is to loop inside the process. However it
>> seems
>> that it's as easy as execv("/proc/self/exe", argv).
>
> That seems like a very clean and simple plan; I assume that works fine
> with your current connection design too?

Yes, snekserver connects to snek-ev3 stdin/stdout, so execv() does not 
disturb it.

The only thing I'll need to check is stdio buffering.

Best,
Misha.


More information about the Snek mailing list