Re: [Gambas-user] Get Output of Shell or Exec in TextArea.

2012-03-06 Thread Willy Raets
On di, 2012-03-06 at 14:14 -0800, Bill-Lancaster wrote: > Good point, I'm using 3.0 and it works fine, I think that with Gambas2, I was > using something like: > > Public hProcess as process > > hProcess=exec[.] for read > > sub hProcess_read > . > end > > hope this helps, if not, I'll

Re: [Gambas-user] Get Output of Shell or Exec in TextArea.

2012-03-06 Thread Bill-Lancaster
Good point, I'm using 3.0 and it works fine, I think that with Gambas2, I was using something like: Public hProcess as process hProcess=exec[.] for read sub hProcess_read . end hope this helps, if not, I'll see if I have some Gambas 2 code Bill -- View this message in context: http:

Re: [Gambas-user] Get Output of Shell or Exec in TextArea.

2012-03-05 Thread Bill-Lancaster
This works, Public Sub Form_Open() Dim iIndex As Integer iIndex = FMain.GetIndex(sPID) If iIndex = 0 Then Return Inc Application.Busy Exec ["get_iplayer", "--info", iIndex, "--nocopyright"] For Read As "Contents" Dec Application.Busy End Public Sub Contents_Read() Dim s