docs
[mirrors/Programs.git] / php / skripty / proc_test.php
CommitLineData
8de51304
H
1<?php\r
2\r
3$desc = array(\r
4 0 => array("pipe", "r"), // stdin is a pipe that the child will read from\r
5 1 => array("pipe", "w"), // stdout is a pipe that the child will write to\r
6 2 => array("pipe", "r") // stderr is a file to write to\r
7);\r
8\r
9$proc = proc_open("proctest.exe", $desc, $pipes);\r
10sleep(10);\r
11proc_terminate($proc);\r
12proc_close($proc);\r
13proc_terminate($proc);\r
14\r
15?>\r
This page took 0.155728 seconds and 4 git commands to generate.