On Thu, Jun 18, 2009 at 11:41:46AM -0400, Marc Feeley wrote:
On 18-Jun-09, at 10:57 AM, Taylor Venable wrote:
On Tue, Jun 16, 2009 at 12:03:16PM -0400, Marc Feeley wrote:
The latest patch to Gambit solves this problem by introducing new procedures: call-with-input-proces, with-input-from-process, etc. These procedures wait for the process to terminate (by calling process status). The patch also fixes a bug in process-status.
Are these API expected to be relatively bug-free, or are they still considered experimental? I get an error when using them sometimes:
(let loop ((i 0)) (close-port (open-process (list path: "/bin/ls"))) (loop (+ i 1)))
*** ERROR IN loop, (console)@107.31 -- Interrupted system call (open-process '(path: "/bin/ls"))
I can't reproduce this bug on Mac OS X 10.5.6 using Gambit v4.4.4.
Please add some context:
- On what OS? (give the output of: uname -a)
- Using which version of Gambit (give the output of: gsi -v)
- value of i when the problem occurs
- number of files in the current directory
For the benefit of other users, you should post bug reports to http://www.iro.umontreal.ca/~gambit/bugzilla/
Sorry, I was uncertain whether it should even be considered a bug in light of the recent changes in this area, but it sounds like it must be. I'll post full details to the Bugzilla system, of course.