chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Weird behaviour in process / output / close-output-p


From: Alejandro Forero Cuervo
Subject: Re: [Chicken-users] Weird behaviour in process / output / close-output-port
Date: Thu, 1 Jun 2006 14:53:43 -0500
User-agent: Mutt/1.5.9i

> $ ./proctest.scm ; echo $?
> bash: line 1: foo: command not found
> 141
> 
> imho this is normal on unix.
> the shell trying to execute "foo" has already terminated when
> you call (newline out), so you get a SIGPIPE signal which
> terminates the process if it's not handled or ignored.

Duh!  You're right!  Ignoring the signal just triggers a Scheme-level
error, which is ok.  Nevermind.

Thanks, Hans.

Alejo.
http://azul.freaks-unidos.net/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]