[mythtv] how do you avoid inheriting file descriptors?

Harondel J. Sibble mythtv-dev@snowman.net
Mon, 16 Dec 2002 15:53:14 -0800


On 20 Nov 2002 at 10:33, Carlos Talbot wrote:

> stay in sync I have to fork off the script as the ir transmission is
> relatively slow (1 second delay between each remote code). As a result
> while the perl script is running in the background mythtv continues and
> tries to secure the bttv device to display/record video. Or at least, it
> tries to. The first problem I notice is this:

> open video:: Device or resource busy
> 
> avoid this? Or for that matter, is there a way I can close this file
> descriptor from the child process?


Carlos, did you ever get this sorted out? My ir-200l arrived today and I am 
itching to try it out.
-- 
Harondel J. Sibble 
Sibble Computer Consulting
Creating solutions for the small business and home computer user.
help@pdscc.com (use pgp keyid 0x3AD5C11D) http://www.pdscc.com
(604) 739-3709 (voice/fax)      (604) 686-2253 (pager)