Tomcat information:

apache-tomcat-7.0.14
Windows 7

(See attached file: web.xml)(See attached file: catalina.policy)(See
attached file: catalina.properties)(See attached file: context.xml)(See
attached file: logging.properties)(See attached file: server.xml)(See
attached file: tomcat-users.xml)



Hi,

I want to use backtick in CGI script and to get the output but the $result
variable is empty.

Can we use backticks with CGI and Tomcat ?
How can I configure tomcat to be able to use backticks command?



use strict;
use CGI;
...

$cmd = 'cleartool chstream -recommended -default
'.'stream:'.'stream:Dps_Util_1_10G_Dev@\\PV_A_ANJ' ;
chomp( $result = `$cmd`);
print("Value of result: " .$result."\n");
...


Tks
--------------------------------------------------
David Bernard

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to