Lines Matching refs:popen
2 Test popen() and pclose function: basic functionality
13 echo "*** Testing popen() and pclose() with different processes ***\n";
15 echo "-- Testing popen(): reading from the pipe --\n";
20 $file_handle = popen(CMD, 'r');
24 echo "-- Testing popen(): reading from a file using 'cat' command --\n";
28 $file_handle = popen($command, "r");
35 echo "*** Testing popen(): writing to the pipe ***\n";
37 $file_handle = popen("sort", "w");
47 echo "*** Testing for return type of popen() and pclose() functions ***\n";
49 $return_value_popen = popen("echo $string", "r");
66 *** Testing popen() and pclose() with different processes ***
67 -- Testing popen(): reading from the pipe --
69 -- Testing popen(): reading from a file using 'cat' command --
83 *** Testing popen(): writing to the pipe ***
88 *** Testing for return type of popen() and pclose() functions ***