spawn / outputting the street name
Page 1 of 1

Author:  Bwguffey [ 20 Jan 2017, 15:43 ]
Post subject:  spawn / outputting the street name


In my application, I need to periodically send tracking.item.street_name to a bash script (called, for instance, ""). My osd item looks like this:

<osd name="dumpstreet" enabled="yes" update_period="10" type="cmd_interface" command='
   set_attr_var("streetname", tracking.item.street_name);
   spawn("/usr/local/bin/", get_attr_var("streetname"))

Works fine if I replace tracking.item.street_name with any of the vehicle.* placeholders (integers), but not with the tracking.item.* or navigation.item.* placeholders. I can't get any of the placeholders to work referencing them with like ${ ... }.

Is there anything I can do here or am I SOL?

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group