yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #09729
Re: [Question #250147]: Error occur for sys.exit()
Question #250147 on Yade changed:
https://answers.launchpad.net/yade/+question/250147
Status: Open => Answered
Klaus Thoeni proposed the following answer:
Not sure what's going on here, exit() should do the job. I tried it with
one of my scripts and it's working.
# your script...
O.run(1000,True)
exit()
But why do you want to exit? If you are just running a deposition and
want to store it I would recommend to use yade-batch instead of yade
since it automatically exits when the script is finished.
HTH
Klaus
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.