On Tue, 11 Feb 2025 at 08:21, Max Chernoff <tex@maxchernoff.ca> wrote:
Hi Luigi,

On Sat, 2025-02-08 at 04:21 -0700, Max Chernoff wrote:
> # Support setting the environment with "os.spawn".
> [...]

I found a couple small bugs with my implementation:

1. Passing the command-line as a table doesn't work if an environment
   table is added.

2. Segfaults if a zero-length environment table is passed.

3. Skips the last passed environment variable.

The attached patch should fix all of these.

ok, done.

--
luigi