Lines Matching refs:popen
2 Test popen() and pclose function: basic functionality
12 * Prototype: resource popen ( string command, string mode )
22 echo "*** Testing popen() and pclose() with different processes ***\n";
24 echo "-- Testing popen(): reading from the pipe --\n";
29 $file_handle = popen(CMD, 'r');
33 echo "-- Testing popen(): reading from a file using 'cat' command --\n";
37 $file_handle = popen($command, "r");
44 echo "*** Testing popen(): writing to the pipe ***\n";
46 $file_handle = popen("sort", "w");
56 echo "*** Testing for return type of popen() and pclose() functions ***\n";
58 $return_value_popen = popen("echo $string", "r");
76 *** Testing popen() and pclose() with different processes ***
77 -- Testing popen(): reading from the pipe --
79 -- Testing popen(): reading from a file using 'cat' command --
93 *** Testing popen(): writing to the pipe ***
98 *** Testing for return type of popen() and pclose() functions ***