[Kc] Executing third party tools using CGI/Perl
Frank Wiles
frank at wiles.org
Tue Jan 17 17:44:46 PST 2006
On Tue, 17 Jan 2006 19:36:58 -0600
user perl <user.perl at gmail.com> 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 <frank at wiles.org>
http://www.wiles.org
---------------------------------
More information about the kc
mailing list