To avoid milk curdling, use at least 2% milk or whole milk. Reduce heat to low before slowly whisking in milk.
Find it online: https://www.motherthyme.com/2013/02/homemade-spaghetti-os.html