Skip to content

os.sleep is not working properly #119

@hamidb80

Description

@hamidb80

info:

  • nim compiler version: 1.4.8
  • inim version : 0.6.1
  • os: windows 10

the code:

import os

nim> proc uuu=   
     echo "start"
     sleep 1000
     echo "end"

nim> uuu()

result:
it prints "end" immediately after printing "start"

expected behavior:
it should sleep for 1s and then print "end"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions