Making program fork in run