Thanks for the reply. However I've installed the svm_classify in the
same 'cgi-bin' directory. I'm enclosing my code snippet as below. I'd
appreciate if you could suggest me how to modify the line to execute <span style="font-style: italic;">svm_classify<span style="font-style: italic;"></span></span>. <br>
<br>
<span style="font-style: italic;">system &quot;svm_classify input-file model-file output-file&quot;;</span><br>
<br>
Thanks,<br>
MP.<br>
<br><div><span class="gmail_quote">On 1/17/06, <b class="gmail_sendername">Frank Wiles</b> &lt;<a href="mailto:frank@wiles.org">frank@wiles.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, 17 Jan 2006 19:36:58 -0600<br>user perl &lt;<a href="mailto:user.perl@gmail.com">user.perl@gmail.com</a>&gt; wrote:<br><br>&gt; Hi,<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;I'm currently writing a CGI script which involves the execution of
<br>&gt; a tool called &quot;SVM Light&quot; in Linux/Apache. The typical command for<br>&gt; executing SVM Light in Linux is svm_classify input-file model-file<br>&gt; output-file. I'm using the &quot;system&quot; option of executing commands in
<br>&gt; CGI but it isn't working because SVM Light is not a system command<br>&gt; (IMHO). Has anyone tried executing third party tools within CGI<br>&gt; scripts?<br><br>&nbsp;&nbsp;Yeah this shouldn't be a big deal.&nbsp;&nbsp;Try using backticks instead of
<br>&nbsp;&nbsp;system like:<br><br>&nbsp;&nbsp;`/full/path/to/svn_classify $input $model $output`;<br><br> ---------------------------------<br>&nbsp;&nbsp; Frank Wiles &lt;<a href="mailto:frank@wiles.org">frank@wiles.org</a>&gt;<br>&nbsp;&nbsp; <a href="http://www.wiles.org">
http://www.wiles.org</a><br> ---------------------------------<br><br></blockquote></div><br>