scsh-users
[Top] [All Lists]

run/port for input

To: scsh@zurich.csail.mit.edu
Subject: run/port for input
From: ZHAO Wei <zhaoway@public1.ptt.js.cn>
Date: Fri, 07 Nov 2003 12:42:35 +0800
Hello!

Can I have something as nice as (run/port ...) but for input instead of for output? Thank you!

I tried (run/port (some process) (<< ,(my-function))) , but this has to have (my-function) return immediately before (some process) could fork. What I want is a delayed input (after some condition being met). That's why I don't want to use (run (| (begin (my-work)) (some process))) , because that way, (my-work) will be in another process, that makes alot things tougher.

Thanks for any help!

--
zhaoway@public1.ptt.js.cn ><##;> ><#;> iloveqhq at http://bbs.nju.edu.cn
http://c2.com/cgi/wiki?ZhaoWay ><#;> http://advogato.org/person/zhaoway/
keywords nanjing.china.linux.filesystem.iptables.garnome.debian.dpkg.rpm
bash.lex.yacc.gcc.lisp.scheme.o'caml.prolog.latex.php.apache.mysql.emacs


<Prev in Thread] Current Thread [Next in Thread>