ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> Tcljava-user
Tcljava-user
[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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved