[Gambas-user] Exec Command Problem

John Rose john.aaron.rose at gmail.com
Sun Jul 5 12:32:04 CEST 2020

I previously attached 3 files compressed into a zip file. Gmail won't 
let me send zip or other compressed formats.

So I have renamed the zip file with an odt extension. Please change it 
back to zip extension.

Here's my original post:

When I use the following Exec command in a Terminal, I get thousands of 
lines generated to Standard Output:
get-iplayer  .  --Type=TV

I have attached the output (get-iplayer.output.txt in attached zip file) 
of the above Terminal command:
using the command: get-iplayer . --Type=TV >Temporary/get-iplayer.output.txt

The TestApp application is in the attached zip file which calls the 
above Terminal command from its Form_Open sub using an Exec command of 
the form:
Exec ["get-iplayer", ". --Type=TV"] Wait For Read As "getiplayerMessages"

This appears to only generate a few lines as shown on the TestApp 
screenshot (in the attached zip file). This is confirmed by the Console 
output. Why is this happening?

I have tried amending the Exec command in various ways:
Exec ["get-iplayer", ".", "--Type=TV"] Wait For Read As "getiplayerMessages"
Exec ["get-iplayer . --Type=TV"] Wait For Read As "getiplayerMessages"
but all give the same problem.

I am using latest stable version of Gambas (3.14.3).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ExecProblem.odt
Type: application/vnd.oasis.opendocument.text
Size: 156508 bytes
Desc: not available
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200705/629d401f/attachment-0001.odt>

More information about the User mailing list