I am working on a program that logs the result of ping (using execl()). Before pinging, I redirect stdout to a log_file which works fine, but for some reason I can\
execl()