[tcljava-user] jacl, exec and I/O redirection
by Jean Gilles Pujol other posts by this author
Sep 24 2003 3:36PM messages near this date
[tcljava-user] Problem with load and info loaded
|
Re: [tcljava-user] jacl, exec and I/O redirection
Hello,
I have a question:
Can I use IO redirection with Jacl?
i've tried the following (in a Jsp page):
<% Interp interp = new Interp(); %>
<% interp.eval("exec $mycommand > $myfile"); %>
but it tells me, when i try to run it, that "> " cannot be found (no such file or directory).
So until now I'm obliged to use a workaround, but I'm not very happy with it: interp.eval("
file::fwrite $myfile [exec $mycommand]") where fwrite....writes to a file.
Thanx in advance,
Jean
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
tcljava-user mailing list
tcljava-user@[...].net
https://lists.sourceforge.net/lists/listinfo/tcljava-user
Thread:
Jean Gilles Pujol
Mo DeJong
|