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