Skip to content

Instantly share code, notes, and snippets.

@kripton
Created November 27, 2012 21:46
Show Gist options
  • Save kripton/4157307 to your computer and use it in GitHub Desktop.
Save kripton/4157307 to your computer and use it in GitHub Desktop.
krad radio tcl client function library (or s.th. like that)
## krad radio tcl client function library (or s.th. like that)
set sleeptime 200
proc kr {args} {
global station sleeptime
puts "kr_client: running krad_radio $station $args"
exec krad_radio $station {*}$args
after $sleeptime
}
proc krlaunch {} {
kr launch
}
proc krkill {} {
kr destroy
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment