in reply to converting a command-line program to one with a "pretty" interface
With a program that sleeps for N units of time and then does stuff the obvious solution would be to make it read a config file as soon as it wakes up, then the bulk of the interface just edits this file. On *nix you could use a HUP signal to make the daemon re-read the config file. $SIG{HUP} = \&read_config;
cheers
tachyon
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: converting a command-line program to one with a "pretty" interface
by punkish (Priest) on Dec 06, 2004 at 04:17 UTC |