Lines Matching refs:popen
2 Test popen() and pclose function: basic functionality
11 * Prototype: resource popen ( string command, string mode )
21 echo "*** Testing popen() and pclose() with different processes ***\n";
23 echo "-- Testing popen(): reading from the pipe --\n";
28 $file_handle = popen(CMD, 'r');
32 echo "-- Testing popen(): reading from a file using 'cat' command --\n";
36 $file_handle = popen($command, "r");
43 echo "*** Testing popen(): writing to the pipe ***\n";
45 $file_handle = popen("sort", "w");
55 echo "*** Testing for return type of popen() and pclose() functions ***\n";
57 $return_value_popen = popen("echo $string", "r");
74 *** Testing popen() and pclose() with different processes ***
75 -- Testing popen(): reading from the pipe --
77 -- Testing popen(): reading from a file using 'cat' command --
91 *** Testing popen(): writing to the pipe ***
96 *** Testing for return type of popen() and pclose() functions ***