Скрипт тебе в консоле надо исполнять? можно было бы скрипт в батник запихнуть и попробовать запустить через консоль этот батник.А в батнике уж прописать сколько ему работать
Цитата с php про команду system
If a program is started with this
function, in order for it to continue
running in the background, the output
of the program must be redirected to a
file or another output stream. Failing
to do so will cause PHP to hang until
the execution of the program ends.
Надо для продолжения будет всё равно переправить на другой источник.
Ещё нашёл
On WinXP with Apache2 and PHP 4.3.3
you cannot start a program in
background with exec and start. you
have to do the following. This
function should work on Windows and
Unix, too.
<?php function execInBackground($path,
$exe, $args = "") {
global $conf;
if (file_exists($path . $exe)) {
chdir($path);
if (substr(php_uname(), 0, 7) == "Windows"){
pclose(popen("start \"bla\" \"" . $exe . "\" " .
escapeshellarg($args), "r"));
} else {
exec("./" . $exe . " " . escapeshellarg($args) . " > /dev/null
&");
}
} } ?>