utility to fork processes to background