Richard- Sunday, November 2, 2014, 8:59:25 AM, you wrote:
> > /usr/local/bin/wget --no-check-certificate --config=/etc/wgetrc -O- > > --content-on-error -o /dev/null > The options for displaying progress in the terminal work well, but how > can we call that from LiveCode to obtain that progress info periodically > while the command is executing from the "shell" function? get shell("/usr/local/bin/wget <options>... in particular, the -O- error will give you the info that normally just goes to the screen. I use the --content-on-error argument to receive information even if wget runs into an error, and the -o /dev/null argument is because wget has an annoying habit of putting "..." into the output stream as a means of telling you it's still working. If you're getting the wget output as above then the "..." gets mixed in with the data, and the -o option sends the status data to /dev/null. try "wget --help" for a dizzying list of options > Is there a way to use "open process" for that? Probably, but shell does the job quite well. -- -Mark Wieder ahsoftw...@gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode