Changes between Initial Version and Version 1 of Ticket #766
- Timestamp:
- 12/27/11 19:54:53 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #766 – Description
initial v1 5 5 }}} 6 6 7 because the process has already been purged by the OS at that point. For the time being this can be worked around by calling {{{file-close}}} on the ports' file descriptors.7 because the process has already been purged by the OS at that point. This could be worked around by calling {{{file-close}}} on the ports' file descriptors. However, {{{port->fileno}}} does not work on process ports. 8 8 9 9 A possible solution might be to [http://www.scsh.net/docu/html/man-Z-H-4.html#node_sec_3.4.1 encapsulate processes in process objects similar to Scsh] (or [http://docs.racket-lang.org/reference/subprocess.html subprocess values as Racket calls them]) and change {{{process-wait}}} to retain the process' exit status once it has been collected, allowing for it to be called multiple times. This would of course break backwards compatibility and thus should be handled as a Change Request. See also: [https://github.com/sellout/external-program/wiki/API Common Lisp external-program library]. Comments welcome.