I want to write my system output to a file with out using >filename in command line. Using the same format of the output.
system("ping -n 4 $host",$result);
I want to write my system output to a file with out using >filename in command line. Using the same format of the output.
system("ping -n 4 $host",$result);