removed pcntl controll when this function does not exist (windows)