I have a script (to decompress files) on my local server which i'll ssh to and run (from a local desktop). While running the script via ssh i can see the state of how its working and read the 'print' commands i have in it.
That same script can also be run via 'cgi' from my home apache server (passing the path to the file which needs to be decompressed via url string).
While running the script via 'cgi' (local web server) i can not read any of the 'print' out-put in-till the script is completly finished.
Question
Is there a way to 'print' the out-put of the script while its running in 'cgi', in "real-time" just like it is being run via ssh/terminal window (and not effect how it is currently working in ssh) ?
The reason for running the script via my web server is i do not want to login to the server all the time. I have a second script in the desktops 'nautilus-scripts' folder which lets me "right-click" on a file that is mapped to a shared folder on the server and send the filename off to my browsers url.
I want all the work being done on the decompressed files to take place on the server, i do not want any of the work load to be done on the desktop.
Thanks for any guidance.
In reply to 'print' to cgi like in terminal ("real-time") ? by iMisspell
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |