[Kc] Executing third party tools using CGI/Perl

Frank Wiles frank at wiles.org
Tue Jan 17 18:10:22 PST 2006


On Tue, 17 Jan 2006 20:06:29 -0600
user perl <user.perl at gmail.com> wrote:

> 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
> svm_classify.
> 
> system "svm_classify input-file model-file output-file";

  Right, but you still need to give it the full path so instead of that
  use: 

  `/path/to/cgi-bin/svm_classify $input_file $model_file $output_file`
 
  As Im' assuming those were placeholders and not the real file names. 

 ---------------------------------
   Frank Wiles <frank at wiles.org>
   http://www.wiles.org
 ---------------------------------



More information about the kc mailing list