process must run in foreground.