Re: exec() IIS 5 php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



My script is like this
*****************************************************
<?php
echo "Starting the program!!!";

$cmd = "\"C:\MATLAB6p5\bin\win32\matlab.exe\" /nosplash /nodesktop /r -c
E:\\SSN\\cognetics\\amp_fit_power_with_mex\\test2.m";
exec($cmd,$output,$rv);

echo "program started!!!";
?>
******************************************************

I have never used Matlab (sorry), but I'm guessing Matlab requires interactive usage? If the answer to this question is "yes", then PHP is going to hang because it's waiting on Matlab to finish exec()'ing, but Matlab will be waiting for PHP to interact with it. I'm not aware of a solution to this problem.


Or is this more like a filter in the pipeline and $cmd should be producing some kind of output for the browser?

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux