Sample popen() code