Hi all,
I just made a new egg called "web-unity". Its purpose is pretty simple:
it allows you to create web applications which can run via CGI, SCGI, FCGI
or Spiffy without having to change the code. All that's needed is a
server-specific dispatcher procedure which hands off the request to a
gen
Thomas Christian Chust wrote:
I wonder why one would want to pass this cleanup argument to the daemon
procedure -- why should the spawned process simply perform cleanup once
the daemon procedure returns?
The problem with that, as I see it, is that sometimes daemons don't get to
return normall
grok that. im trying to get chicken working in visual studio. this does not
rate amongst the 'fun' things i have done. yay work requiring ms os.
-elf
On Fri, 26 Oct 2007, Alex Queiroz wrote:
Hallo,
On 10/26/07, Elf <[EMAIL PROTECTED]> wrote:
heh, none of these are going to work everyw
Hallo,
On 10/26/07, Elf <[EMAIL PROTECTED]> wrote:
>
> heh, none of these are going to work everywhere. all posix extensions are
> custom. the only i/o procs in the standard are call-with-[input|output]file,
> with-[input|output]-to-file, current-[input|output]-port,
> [input|output]-file?,
> [
heh, none of these are going to work everywhere. all posix extensions are
custom. the only i/o procs in the standard are call-with-[input|output]file,
with-[input|output]-to-file, current-[input|output]-port, [input|output]-file?,
[open|close]-[input|output]-file, write, display, read, load,
On Fri, 26 Oct 2007, Thomas Christian Chust wrote:
Elf wrote:
um, why not just use (duplicate-fileno (portfileno )) ? [...]
Because not the file descriptor of a given port should be duplicated but
rather the file descriptor of a given port should be replaced by a
duplicate of another one.
Hallo,
On 10/26/07, Elf <[EMAIL PROTECTED]> wrote:
>
>
> (re: the daemon question, i would just use
> (foreign-lambda int "daemon" int int) ,
> but thats just me.)
>
A very nice solution... If it worked (everywhere).
Cheers,
--
-alex
http://www.ventonegro.org/
___
Elf wrote:
> um, why not just use (duplicate-fileno (portfileno )) ? [...]
Because not the file descriptor of a given port should be duplicated but
rather the file descriptor of a given port should be replaced by a
duplicate of another one.
Of course one could use (portfileno ...) instead of th
um, why not just use (duplicate-fileno (portfileno )) ? or if its
only stdin/stdout/stderr that youre worried about, calling
(current-[input|output|error]-port) with an argument should change the value.
the above three procs are parameters
(re: the daemon question, i would just use
Ozzi wrote:
> I am working on for creating unix daemons. Can anyone tell me how to
> redirect stdout and stderr? I want to redirect them to /dev/null by
> default.
Hello,
such an egg would indeed be a useful addition :-)
To redirect the standard file descriptors I would suggest to use the
same
10 matches
Mail list logo