WARNING: This server is unstable and will be retired in the next days.
If you want to keep this forum available, please request immediately a migration
on the
Nabble Support forum.
Forums that don't receive any migration request will be deleted forever.
Re: help with EXEC usage
Sorry - I'll try again.
Its so simple, hardly worth making a project.
I'm using get_iplayer in a Gambas project to download past BBC radio programmes.
It's working fine. To listen to the programme, this is the code - get_iplayer --stream 13142 | mplayer -cache 3072 -, where 13142 is the programme's index in get_iplayer.
I can start the programme but can't stop it.
Anyway, here's a small project
Bill
PUBLIC hProc AS Process
PUBLIC SUB btnPlay_Click()
hProc = SHELL ("get_iplayer --stream 13280 | mplayer -cache 3072 -") FOR WRITE
END
PUBLIC SUB btnStop_Click()
IF hProc THEN hProc.Kill
END