summaryrefslogtreecommitdiff
path: root/scsh-process.scm
AgeCommit message (Collapse)Author
2012-10-06Fix order of returning0.3.1Peter Bex
2012-10-06Return #f from WAIT when nohang is given and the process hasn't completedPeter Bex
2012-10-06Provide a new 'wait' procedure so we don't need to modify the type of ↵0.3Peter 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-06Revert back to standard-extension and include a type declaration override ↵Peter Bex
for scsh-process to fix bogus optimization of 'signal-handler' due to invalid scrutiny type
2012-10-06Add back the nohang option to the process-wait overridePeter Bex
2012-10-05Improve 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-04Reorder return values of process-wait; we shouldn't mess with that!Peter Bex
2012-10-03Add bookkeeping code for processes so we can get rid of all zombie processesPeter Bex
2012-10-03Clean up tempfiles by open/unlink combination in run/collecting*Peter Bex
2012-10-02Ensure port is closed before returning from run/sexp*; this would hopefull ↵Peter Bex
ensure processes don't hang when they keep writing while the pipe buffer is full. Instead, it would kill the process with sigpipe
2012-10-02fork/pipe returns #f in the child, not 0Peter Bex
2012-10-02Use implicit quasiquotation inside object-redirection rule tooPeter Bex
2012-10-02Fix setup script and remove untrue and misleading commentPeter Bex
2012-10-02Use better ->string conversion routinePeter Bex
2012-10-02Fix run/collecting* and add a testcase for itPeter Bex
2012-10-02Implement <<-redirectionPeter Bex
2012-10-01Implement appending to filesPeter Bex
2012-10-01Fix run/port* so it doesn't replace the input port when in the REPL. ↵Peter Bex
Unfortunately, no test for it
2012-10-01Implement run/file*, which is really weirdPeter Bex
2012-10-01Mistake: the fork should automatically exit, the user shouldn't need to do thisPeter Bex
2012-10-01Implement && and || (which is a bit of a hack in Chicken considering it's ↵Peter Bex
the empty symbol)
2012-10-01Add BSD license clausePeter Bex
2012-10-01Clean up FDs that we don't use anymorePeter Bex
2012-10-01Fix nested pipe expressions and run/sexps, adding tests for bothPeter Bex
2012-10-01Provide a more complete set of primitives, and convert fit-pipes to ↵Peter Bex
fork/pipe+ chain
2012-10-01Implement pipe fittingPeter Bex
2012-09-30Implement scheme begin forms, filedescriptor dup()ing and use ↵Peter Bex
print-error-message to print the error message, then exit
2012-09-30First stab at basic scsh interface. Currently can fork off subprocesses and ↵Peter Bex
run processess synchronously