Mailing List Archives
Public Access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Condor-users] Running Executable within php
- Date: Mon, 14 Jul 2008 22:40:00 +0100
- From: "Goteng, Gokop" <g.l.goteng@xxxxxxxxxxxxxxx>
- Subject: [Condor-users] Running Executable within php
Dear All,
I am running an optimisation problem using NSGA-II . I have successfully run the NSGA2 code (written in c) gnuplot. I want to use php to output the results and graph in a web browser and it does not work. I wonder if anyone have tried this before. My php code is:
<?php
$makeclean=shell_exec('make clean');
$make=shell_exec('make');
$runnsga2=passthru('./nsga2r 0.64 < input_file');
echo "<pre>$makeclean</pre>";
echo "<pre>$make</pre>";
echo "<pre>$runnsga2</pre>";
?>
I tried other c programs and they work well, but this one does not.
Any help is appreciated
Kind regards
Gokop