You are here: Re: wait for result from exec « PHP Programming Language « IT news, forums, messages
Re: wait for result from exec

Posted by Erwin Moller on 01/30/07 14:29

Gunnar G wrote:

> If I wish to run an external application with exec(), does the execution
> of the PHP script halt until the external application has finished?

Hi,

Did you check the documentation?

http://nl2.php.net/manual/en/function.exec.php

Look at the notes:
Note: If you start a program using this function and want to leave it
running in the background, you have to make sure that the output of that
program is redirected to a file or some other output stream or else PHP
will hang until the execution of the program ends.

Regards,
Erwin Moller

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация