| To: | Robert Morelli <morelli@math.utah.edu> |
|---|---|
| Subject: | Question about (exit) |
| From: | "Brian D. Carlstrom" <bdc@zurich.ai.mit.edu> |
| Date: | Wed, 12 Jun 2002 23:59:11 -0700 |
| Cc: | scsh-news@zurich.ai.mit.edu |
| Reply-to: | "Brian D. Carlstrom" <bdc@ai.mit.edu> |
Robert Morelli writes: > I defined a function > > (define fail > (lambda (msg) > (display msg) > (exit 0))) > > with the intention that calling > (fail msg) > will result in the message msg being written to > standard out and the process then terminating. > However, what happens is that the process simply > terminates without msg being written. Can someone > explain this? I assume this is because the stdout is not flushed before the process exits... -bri |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Question about (exit), Robert Morelli |
|---|---|
| Next by Date: | Scsh (a Unix Scheme shell) FAQ, Michel Schinz |
| Previous by Thread: | Question about (exit), Robert Morelli |
| Next by Thread: | Re: Question about (exit), Martin Gasbichler |
| Indexes: | [Date] [Thread] [Top] [All Lists] |