Replace int with size_t to get rid of compiler warning
Forking processes