single-process mode