Looked through google quite a bit. and trying to find a way to run a simple script and show it While its running
ive found proc_open() on searces of forums but not sure how to accomplish it and a way to maybe just in case definitely shut the process down when done or is that built into it even if someone exits the browser without waiting..
i just have a couple of tries in // but cant seem to figure how to show it without just waiting for output then
elseif ($radio == radio4)
$command=('/usr/local/bin/cv/sleeper ' );
//exec('/usr/local/bin/cv/sleeper /dev/null 2>/dev/null &');
$output=shell_exec($command); //system call
print proc_open("ping -c 4 -i 1 18.104.22.168");