How to start a tail -f shell command and follow online.

lucevers wrote:

Hi,

Howto start a 'tail -f' shell command and follow online the results.

Example: like the PHP 'passthru' command.

The example below can start the command buts wait until the shell is
finished.

<%= %x{ls -l} %>

or 'popen' same problem.

There is a file-tail package available on the RAA that I recommend instead of shelling out. Cross-platform, too.

Regards,

Dan

This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.

Dan,

OK, but 'tail -f' is only an example.
Others like a ping,traceroute ... can be important to start from web

Luc.