This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
-
G
Guest
Post
by Guest »
I want to be able to execute a PERL script in a TCL script, how do I do this?
-
M
Mikee
Post
by Mikee »
simply:
exec perlscript.pl <any arguments>
Just make sure the perl interpreter is specified correctly in perlscript.pl. (#! /usr/bin/perl ...for example).
-
G
Guest
Post
by Guest »
Thanks, is it any way to get the return of the script as well?
-
M
Mikee
Post
by Mikee »
Yes I believe it is:
set pScriptRetVal [exec pscript.pl <arg>]
-
G
Guest
Post
by Guest »
Thanks for the help on this one too..