Changeset 34926 in project


Ignore:
Timestamp:
12/09/17 12:33:11 (3 years ago)
Author:
sjamaan
Message:

scsh-process: Document fork/pipe, run/file and run/file* no longer capture stderr of child process in 1.2.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/scsh-process

    r34896 r34926  
    282282provided, {{#f}} (not zero!) is returned in the child process.
    283283
    284 Currently {{%fork/pipe}} is just an alias for {{fork/pipe}}.
     284Currently {{%fork}} is just an alias for {{fork}}.
    285285
    286286<procedure>(wait [pid-or-process [nohang]])</procedure>
     
    340340These fork the process as per {{fork}} or {{%fork}}, but additionally
    341341they set up a pipe between parent and child.  The child's standard
    342 output and stdandard error are set up to write to the pipe, while the
    343 parent's standard input is set up to read to the pipe.
     342output is set up to write to the pipe, while the parent's standard
     343input is set up to read to the pipe.  Standard error is inherited
     344from the parent.
    344345
    345346The return value is a process object or {{#f}}.
     
    414415=== Changelog
    415416
     417* 1.2.0 - Do not redirect stderr to stdout in {{fork/pipe}}, {{run/file*}} and {{run/file}}; instead, stderr is inherited from the parent (thanks to Jörg F. Wittenberger).  This improves compatibility with scsh.
    416418* 1.1.0 - Move signal handler into a separate thread to allow signaling the thread that was interrupted by the handler.
    417419* 1.0.0 - Fix {{fork}} restoration of signal mask to what it was before {{fork}} rather than blindly unmasking it.  Fix {{wait}} test with {{#f}} argument.  Fix (conditional) unmasking of signal/chld in the child thunk after performing a {{fork}}.
Note: See TracChangeset for help on using the changeset viewer.