On Tue, 17 Jan 2006 19:36:58 -0600
user perl <[EMAIL PROTECTED]> wrote:

> Hi,
> 
>    I'm currently writing a CGI script which involves the execution of
> a tool called "SVM Light" in Linux/Apache. The typical command for
> executing SVM Light in Linux is svm_classify input-file model-file
> output-file. I'm using the "system" option of executing commands in
> CGI but it isn't working because SVM Light is not a system command
> (IMHO). Has anyone tried executing third party tools within CGI
> scripts?

  Yeah this shouldn't be a big deal.  Try using backticks instead of
  system like: 
 
  `/full/path/to/svn_classify $input $model $output`; 

 ---------------------------------
   Frank Wiles <[EMAIL PROTECTED]>
   http://www.wiles.org
 ---------------------------------

_______________________________________________
kc mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/kc

Reply via email to