Re: [Rhythmbox-devel] [Fwd: Rhythmbox's plugin for logitech G15 keyboard]



Riccardo Belloli wrote:
> - create a new named pipe with a random name under /tmp/.
> - With os.popen2, I start a new instance of g15composer and bind it to
> the named pipe just created
> - Showtime! :)

I've not tried this code, but it might be better to use the python
subprocess module (available in python 2.4+) as os.popen2 and similar
functions are deprecated in python 2.6 (and will be removed in python
3.0).

Peter


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]