Hello!

How does the process report its progress?
I can suggest you to create temp text file from the process and write
from time to time percentage (like 55%) to it. And read from this file
to Wt application and show it to user (using WProgressBar::setValue)
from time to time.

offtopic:

I have written library wt-classes, based on Wt, part of which is a
module to run command line processes from web:
http://starius.ru/wt-classes/reference/group__wbi.html

Example (web interface for Unix xxd tool):
http://starius.ru/wt-classes/examples/xxd-wt

More information about wt-classes: https://bitbucket.org/starius/wt-classes
Downloads: https://bitbucket.org/starius/wt-classes/downloads

On Sat, Apr 28, 2012 at 18:28, Mohammed Rashad
<[email protected]> wrote:
>
> I am executing some process from web. I currently use cmd 2>&1 to pipe
> stdout and stderr to wt textbox
>
> Now I want to show the progress of process which i spawned using a
> progressbar
>
> Is it possible in Wt?
>
>
> @offtopic:
>
> does any one know any library which I can use with Wt to start process, read
> outputs and also get some info to update a WProgressBar
>
> I tried Boost.Process, pstreams. None of them worked getting different
> outputs every time. It works sometimes and sometimes it wont work
>
> --
> Regards,
>    Rashad
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to