<feed xmlns='http://www.w3.org/2005/Atom'>
<title>scsh-process, branch master</title>
<subtitle>Egg to add Scheme Shell process notation to CHICKEN Scheme.
</subtitle>
<id>https://code.more-magic.net/scsh-process/atom?h=master</id>
<link rel='self' href='https://code.more-magic.net/scsh-process/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/scsh-process/'/>
<updated>2025-07-02T12:45:00Z</updated>
<entry>
<title>Add 1.7.1 release</title>
<updated>2025-07-02T12:45:00Z</updated>
<author>
<name>Peter Bex</name>
<email>peter@more-magic.net</email>
</author>
<published>2025-07-02T12:45:00Z</published>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/scsh-process/commit/?id=e855041b3ed0cdd8275b50f8258d842a6c2dc261'/>
<id>urn:sha1:e855041b3ed0cdd8275b50f8258d842a6c2dc261</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix cleanup handling in wait for processes forked without scsh-process</title>
<updated>2025-07-02T12:41:53Z</updated>
<author>
<name>Peter Bex</name>
<email>peter@more-magic.net</email>
</author>
<published>2025-07-02T12:41:53Z</published>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/scsh-process/commit/?id=4a9adfd4591ca5de96b1294cd47d12c4efc22535'/>
<id>urn:sha1:4a9adfd4591ca5de96b1294cd47d12c4efc22535</id>
<content type='text'>
Similar to the C5 code, here we assumed that proc+condition would be
true if the pid-or-process argument was a raw pid number, as taken
from the table maintained by scsh-process.

Unfortunately, this assumption only holds when the process would've
been forked using "fork" from the scsh-process egg.  If one forked
with the "core" fork from CHICKEN itself, both p and pending-before
would be false, which would lead to a "(car) bad argument type: #f"
error.

Reported by Matthew Welland.
</content>
</entry>
<entry>
<title>Port to CHICKEN 6</title>
<updated>2025-02-07T09:50:29Z</updated>
<author>
<name>Peter Bex</name>
<email>peter@more-magic.net</email>
</author>
<published>2025-02-07T09:50:29Z</published>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/scsh-process/commit/?id=5d2659453493d7a1de7b80257763c72236c4008f'/>
<id>urn:sha1:5d2659453493d7a1de7b80257763c72236c4008f</id>
<content type='text'>
This allows us to reduce the code considerably because CHICKEN 6 now
has native process objects, so we don't need to keep our own version
of process tracking.

Note that we still need to keep our own list of child processes
created by "fork", because we want the automatic subprocess reaper to
be able to work in a thread.  This means we still need to have a
central mapping of our own subprocesses to condition object so we can
signal the thread which is waiting.

After all I'm not so sure if this was such a great idea, but it's kind
of a neat feature that could be useful, so keep it for now.
</content>
</entry>
<entry>
<title>Close extraneous file descriptors to prevent an FD leak.</title>
<updated>2021-09-14T12:00:52Z</updated>
<author>
<name>Peter Bex</name>
<email>peter@more-magic.net</email>
</author>
<published>2021-09-14T12:00:52Z</published>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/scsh-process/commit/?id=e520d20700e513d69c5c83a03b48d89f4194fe63'/>
<id>urn:sha1:e520d20700e513d69c5c83a03b48d89f4194fe63</id>
<content type='text'>
After dup(2)ing an fd into another already existing fd, we can close
the original.
</content>
</entry>
<entry>
<title>Fix issue with redirection in run/port (and, by extension, run/string)</title>
<updated>2021-09-14T11:54:29Z</updated>
<author>
<name>Peter Bex</name>
<email>peter@more-magic.net</email>
</author>
<published>2021-09-14T11:54:29Z</published>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/scsh-process/commit/?id=eb97f7d4f6a6428b52f6cd24e54d3e4650f631a0'/>
<id>urn:sha1:eb97f7d4f6a6428b52f6cd24e54d3e4650f631a0</id>
<content type='text'>
We would initially create a pipe, dup(2) that onto fd 1 in the forked
process and open an output port on the original fd.  This resulted in
a pretty nasty bug: if the fd would be redirected (by number) later,
it would not affect the output port because that was set up to point
to the original fd.

Instead, open an output port to the newly set up stdout and close the
direct pipe port.
</content>
</entry>
<entry>
<title>Bump version to 1.6.0</title>
<updated>2020-05-17T15:25:25Z</updated>
<author>
<name>Peter Bex</name>
<email>peter@more-magic.net</email>
</author>
<published>2020-05-17T15:25:25Z</published>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/scsh-process/commit/?id=87ce3a51ae76208ccd888c1ef18673b52e6b9d6c'/>
<id>urn:sha1:87ce3a51ae76208ccd888c1ef18673b52e6b9d6c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use 0666 as default file-open mode</title>
<updated>2020-05-17T15:25:14Z</updated>
<author>
<name>Vasilij Schneidermann</name>
<email>mail@vasilij.de</email>
</author>
<published>2020-05-13T07:45:00Z</published>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/scsh-process/commit/?id=3fd5747e5115496b670905f082a875e4d7e5bf04'/>
<id>urn:sha1:3fd5747e5115496b670905f082a875e4d7e5bf04</id>
<content type='text'>
Signed-off-by: Peter Bex &lt;peter@more-magic.net&gt;
</content>
</entry>
<entry>
<title>Add 1.5.2 to release-info files</title>
<updated>2019-05-16T15:53:09Z</updated>
<author>
<name>Peter Bex</name>
<email>peter@more-magic.net</email>
</author>
<published>2019-05-16T15:53:05Z</published>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/scsh-process/commit/?id=594199c4f9d8f86d75a022f01a84610087fb518a'/>
<id>urn:sha1:594199c4f9d8f86d75a022f01a84610087fb518a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add missing chicken.fixnum import for `fx+ in `run` macro</title>
<updated>2019-05-16T15:52:06Z</updated>
<author>
<name>Evan Hanson</name>
<email>evhan@foldling.org</email>
</author>
<published>2019-05-16T08:36:24Z</published>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/scsh-process/commit/?id=38e270cd2a608d75e9ca2fbc7b6cdd17d0a67da9'/>
<id>urn:sha1:38e270cd2a608d75e9ca2fbc7b6cdd17d0a67da9</id>
<content type='text'>
Signed-off-by: Peter Bex &lt;peter@more-magic.net&gt;
</content>
</entry>
<entry>
<title>Use https instead of http for locations</title>
<updated>2019-01-20T10:51:03Z</updated>
<author>
<name>Peter Bex</name>
<email>peter@more-magic.net</email>
</author>
<published>2019-01-20T10:51:03Z</published>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/scsh-process/commit/?id=30543333552062ab2f298ccb23eee5af626ac806'/>
<id>urn:sha1:30543333552062ab2f298ccb23eee5af626ac806</id>
<content type='text'>
</content>
</entry>
</feed>
