|
Posted by warth33 on 01/17/08 23:08
This is a php group, most people dont know about c#. So my question, a
php-related one, is: what strategy would you use n this case? To solve
the problem, or at least to do something about this. I mean, you have
a few php-scripts whose execution is dependent on an external program.
What would you do in a case like this? When ou know that sometimes the
execution can fail (and worst of all make, more or less, a whole web
app to hang up), and you just want to exit, in those cases? What would
you do, guys?
As Jerry said, the try and catch will not work, as php will loose the
control when the exec will be called.
Navigation:
[Reply to this message]
|