Improved handling of case where child is killed by a signal
[tcl-tlc.git] / examples / hconfig.tcl
blobbbe00f142c56be346ad4933957c73547b2ef3787
1 #!/usr/bin/tclsh
3 source "boilerplate.tcl"
5 wm withdraw .
7 package require Pg_sql
9 pg_sql::Pg_sql sql -dbname "gump"
11 Hconfig hcfg pg_sql [list sql "hconfig"]
13 hcfg save "users" {attribs {forex.class dealer}} {perms mergelist permset mergelist prefs mergearray prefset mergelist attribs mergearray attribset mergelist}
14 hcfg save "svcs" {} {perms mergelist permset mergelist prefs mergearray prefset mergelist attribs mergearray attribset mergelist}
15 array set uinfo [hcfg load "/users/nett/cyan"]
16 parray uinfo
18 exit