danion: Prozess erzeugen

Hallo möchte einen Prozess mit proc_open() allerdings unter Windows erzeugen, weiß allerdings nicht wie da Standardinput und - output anzugeben sind für die descriptorspec...jemand ne Ahnung?

Grüßle

$descriptorspec = array(
   0 => array("pipe", "r"),  // stdin is a pipe that the child will read from
   1 => array("pipe", "w"),  // stdout is a pipe that the child will write to
   2 => array("file", "/tmp/error-output.txt", "a") // stderr is a file to write to
);

$process = proc_open($proc, $descriptorspec, $pipes);