I am coding on Windows, so fork() is not available. Now, i need to run execl(), but it is an end point of my program! I thought of creating a separate thread to run execl(), which is created successfully, and runs well also. But still my program comes to an end after thread is over. Function running thread--It is inside class wScoreget:-I am coding on Windows, so fork() is not availa