Re: [Gambas-user] EXEC progress

2017-03-22 Thread Jussi Lahtinen
> Yes, a progress bar or even just a label showing which operation is > current. > hProc = Exec ["ffmpeg", "-i", sPathTape, etc, etc] Wait For Output As > "Process" > > with > > Public Sub Process_Read() > Dim sData As String > Read #Last, sData, -255 >Label1.caption = sData > End > >

Re: [Gambas-user] EXEC progress

2017-03-22 Thread Christof Thalhofer
Am 22.03.2017 um 18:01 schrieb bill-lancaster: > I have a series of EXEC command line jobs. The whole lot takes some time and > it would be nice to have some indication of progress. > Because there's a series of EXECs, I'm using the 'Wait' function. In this > case it seems that 'Process_Read'

Re: [Gambas-user] EXEC progress

2017-03-22 Thread bill-lancaster
Yes, a progress bar or even just a label showing which operation is current. hProc = Exec ["ffmpeg", "-i", sPathTape, etc, etc] Wait For Output As "Process" with Public Sub Process_Read() Dim sData As String Read #Last, sData, -255 Label1.caption = sData End doesn't show anything This

Re: [Gambas-user] EXEC progress

2017-03-22 Thread Jussi Lahtinen
Process_Read simply reads output of the executed program. Is something lost, which is expected to show up? Jussi On Wed, Mar 22, 2017 at 7:01 PM, bill-lancaster wrote: > I have a series of EXEC command line jobs. The whole lot takes some time > and > it would be

Re: [Gambas-user] EXEC progress

2017-03-22 Thread Matti
I don't know exactly what you want. My idea would be to show a StatusBar saying which EXEC command is called. And a ProgressBar after each EXEC command with an estimated value of progress. Or am I completely wrong? Am 22.03.2017 um 18:01 schrieb bill-lancaster: > I have a series of EXEC command

[Gambas-user] EXEC progress

2017-03-22 Thread bill-lancaster
I have a series of EXEC command line jobs. The whole lot takes some time and it would be nice to have some indication of progress. Because there's a series of EXECs, I'm using the 'Wait' function. In this case it seems that 'Process_Read' doesn't report what's happening. Any advice would be