On 16 October 2012 11:31, John Regehr <[email protected]> wrote: > The easy way to do this would be using a signal, but that's only 1 bit of > information. Even so, we could use SIGUSR1 to switch to serial mode and > SIGUSR2 to switch to the default parallel mode for example. > > Pipes, named pipes, and other "real" IPC seems kind of complicated for this > task. > > Probably looking in a file is the easiest thing.
Perhaps a more general solution could be to use a config file for options, and respond to SIGHUP to re-read it? -- Eitan Adler
