|Subject:||Re: help strange thread|
|From:||ZHAO Wei <email@example.com>|
|Date:||Sun, 02 Nov 2003 22:40:13 +0800|
Not an direct answer to questions in your post, but the use of the Scheme code in the process form seems unnecessary. For example, (run (| (nc -l -p 8888) (begin (watcher)))) could be rewritten using run/port, which forks a process and returns a port from which the forked process' output can be read, as for example in (let ((port (run/port (nc -l -p 8888)))) (awk (read-line port) (line) () ((: bos "XXX") (delay-work trouble))))))
Thanks! :) I began to really love SCSH now! :) Thanks for your explaination / confirmation about the threads and process problem too!
-- firstname.lastname@example.org http://c2.com/cgi/wiki?ZhaoWay http://advogato.org/person/zhaoway/ linux.ext2fs.tcp.ip.netfilter.gnu.debian.dpkg.rpm.bash.lex yacc.gcc.lisp.scheme.ocaml.latex.html.css.php.apache.mysql
|<Prev in Thread]||Current Thread||[Next in Thread>|