Added parameter on fork method to specify the window.