• 3 Posts
  • 1.09K Comments
Joined 2 years ago
cake
Cake day: August 21st, 2024

help-circle


  • lime!@feddit.nuto196@lemmy.blahaj.zoneLinux Rule
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    8 hours ago

    it’s not just looping; every instance starts two instances of itself waiting for input. it’s basically doing

    async def fork(): 
        f = fork()
        await fork(await f)
    

    …except python doesn’t start the second call until its arguments are evaluated, while shell does.