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] Still pipelines...
by Jean Gilles Pujol other posts by this author
Oct 17 2003 2:13PM messages near this date
[tcljava-user] WebSphere Jacl Interface. | [tcljava-user] Regsub...
...but I'm not 100% sure this problem is related to Jacl.

Basically, in a JSP page (or Java class..) i declare an Interp, and then, later, an exec com
mand is called:
interp.eval("exec /bin/tclsh onetclscript");
This onetclscript performs some operations and calls mynamespace::myproc

Inside myproc, there is also an exec command:
exec oneCSHscript param1 param2 > & $mylogfile

oneCSHscript is executed thanks to /bin/csh, but any pipeline ("|") inside this script cause
s a Segmentation Fault (and a core dump). However, IO redirection (> , >>, <, or whatever) wo
rks. In another environment, where the only difference is that there is no Java nor Jacl, it
 works fine.

Any clue??

Thanks in advance,

Jean



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
tcljava-user mailing list
tcljava-user@[...].net
https://lists.sourceforge.net/lists/listinfo/tcljava-user

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