[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
|