[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[STUMP] Style question: FFI vs. CLI
From: |
Duncan Bayne |
Subject: |
[STUMP] Style question: FFI vs. CLI |
Date: |
Thu, 12 Apr 2012 18:34:14 +1000 |
Guys,
I have a style question, being new to CL and StumpWM: should I be
using FFI to invoke the XRandR libraries, or should I be shelling out
to the xrandr CLI tool and parsing the output?
My (strong) gut feel is that it'd be better to use the XRandR
libraries ... but playing devil's advocate there's already a perfectly
workable CLI tool for XRandR, and it seems pretty easy to invoke such
things & parse the output (see e.g.
http://news.ycombinator.com/item?id=1851948).
Thoughts?
--
Duncan Bayne
ph: +61 420 817 082 | web: http://duncan-bayne.github.com/ | skype: duncan_bayne
- [STUMP] Style question: FFI vs. CLI,
Duncan Bayne <=