Предупреждение: proc_open (): отсутствует квалификатор дескриптора в массиве в C: \ ... \ updatedots.php в строке 102
Я пытаюсь чтобы открыть блокнот, закройте его через 2 секунды. Это мой код:
$descriptorspec = array(
0 => array("pipe" => "r"),
1 => array("pipe" => "w"),
2 => array("file" => "logs/errors.txt")
);
// Create child and start process
$child = array("process" => null, "pipes" => array());
$child["process"] = proc_open("notepad.exe > nul 2>&1", $descriptorspec, $child["pipes"]);
Есть идеи, что означает эта ошибка и что ее вызывает?