Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-09-14 | Fix issue with redirection in run/port (and, by extension, run/string) | Peter Bex | |
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. | |||
2018-08-16 | Port scsh-process to CHICKEN 5 | Peter Bex | |
Thanks to Vasilij Schneidermann for providing an initial patch. | |||
2018-08-16 | Wrap tests in module to make porting easier | Peter Bex | |
2018-08-16 | Drop bogus test | Peter Bex | |
run*/string* does not exist, and run/string* doesn't raise an exception on nonzero exit status. | |||
2018-04-21 | Make ">" redirect truncate existing files | Peter Bex | |
Thanks to Joerg Wittenberger | |||
2018-01-26 | Fix ordering of (= x y) redirection EPF | Peter Bex | |
Thanks to Diego "dieggsy" for pointing out this incongruity with scsh-process. | |||
2017-11-18 | Run signal handler in a separate thread | Peter Bex | |
This seems to be necessary so that condition-variable-broadcast! works when the signal handler is running in the same thread as the waiting thread. | |||
2017-11-10 | Also unmask (if needed) sigchld in the child process thunk | Peter Bex | |
This would be otherwise kept in masked mode because the thunk is in the dynamic extent of the dynamic-wind. | |||
2017-11-10 | Don't unmask signal if the signal was already masked before forking | Peter Bex | |
2017-11-08 | Add a test case for "annonymous" wait. | Jörg Wittenberger | |
Signed-off-by: Peter Bex <peter@more-magic.net> | |||
2017-05-23 | chicken-version is not from setup-api | Peter Bex | |
2015-07-18 | Fix default output redirections to ignore stderr. | Peter Bex | |
This is what scsh does as well, and is more like a regular UNIX shell. Thanks to Haochi Kiang for reporting the bug and providing a patch. | |||
2013-06-18 | Support unquote-splicing through a variant of exec-path (reported by Moritz) | Peter Bex | |
2012-11-03 | Support new process-fork form which can kill all other threads. We still ↵ | Peter Bex | |
see some problems occurring | |||
2012-10-06 | Provide a new 'wait' procedure so we don't need to modify the type of ↵0.3 | Peter Bex | |
process-wait, which could lead to trouble in user code when compiled with scrutiny and/or specialization. This procedure returns the values in a different order for ease of use. May be a bit confusing... | |||
2012-10-05 | Workaround for bug in 4.8.0 when loading scsh-process in compiled mode - it ↵0.2.1 | Peter Bex | |
segfaults immediately. TODO: Figure out why | |||
2012-10-05 | Improve test for <<-redirection by making it less dependent on random ↵ | Peter Bex | |
factors that determine process interleaving, ensuring it gets processed through the pipeline rather than on the same descriptor by mangling it through 'tr'. Fix <<-redirection by reopening output port on new descriptor and explicitly setting up the input port to the given fd in the parent process | |||
2012-10-04 | Use shell arithmetic instead of "bc". It's more portable | Peter Bex | |
2012-10-03 | Add bookkeeping code for processes so we can get rid of all zombie processes | Peter Bex | |
2012-10-02 | Add wrapper for tests so we get a good summary at the end; also add trailing ↵ | Peter Bex | |
garbage for run/sexp's test | |||
2012-10-02 | Use implicit quasiquotation inside object-redirection rule too | Peter Bex | |
2012-10-02 | Fix run/collecting* and add a testcase for it | Peter Bex | |
2012-10-02 | Implement <<-redirection | Peter Bex | |
2012-10-01 | Implement appending to files | Peter Bex | |
2012-10-01 | Fix run/port* so it doesn't replace the input port when in the REPL. ↵ | Peter Bex | |
Unfortunately, no test for it | |||
2012-10-01 | Implement run/file*, which is really weird | Peter Bex | |
2012-10-01 | Some restructuring of the test groupings | Peter Bex | |
2012-10-01 | Mistake: the fork should automatically exit, the user shouldn't need to do this | Peter Bex | |
2012-10-01 | Implement && and || (which is a bit of a hack in Chicken considering it's ↵ | Peter Bex | |
the empty symbol) | |||
2012-10-01 | Rename test directory to tests (thanks Moritz!) | Peter Bex | |