>>>>> "Narang" == narang <narang@comcast.net> writes:
Narang> can someone tell me what's wrong with this
Narang> Welcome to scsh 0.6.2 (Gambit-C 4.0)
Narang> Type ,? for help.
>> ,expand (run (ls))
Narang> '(wait (fork (lambda () (apply exec-path '(ls)))))
>> (define-syntax notify
Narang> (syntax-rules ()
Narang> ((notify subj)
Narang> (notify subj ""))
Narang> ((notify subj obj)
Narang> (run (mail -s ,subj "narang") (<< ,obj)))))
>> > ,expand (notify "test")
Narang> Error: unknown i/o redirection
Narang> (#{Generated << 1311} (#{Generated unquote 1311} ""))
1>
There is nothing wrong with your code: This is a very embarrassing bug
in the macro for the process forms.
I fixed this in CVS, thanks for the report!
--
Martin
|