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

Keith Packard keithp at keithp.com
Mon May 18 12:44:48 PDT 2020


"Misha Gusarov" <dottedmag at dottedmag.net> writes:

> Let's do `-i`. Specifying input files as both arguments and options was
> quite confusing for me.

Thanks for the feedback. I've switched the posix version of snek to this
plan.

> 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?

> Let me try 2) — I don't expect much use of scripts-on-command-line for
> this port anyway outside of testing during development.

Sounds good. Have fun!

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://keithp.com/pipermail/snek/attachments/20200518/72ff30ea/attachment.sig>


More information about the Snek mailing list