On Thu, May 6, 2010 at 10:58, Thomas Gagne <[email protected]> wrote:
> My question is simpler, how do I exit a regular script? > > If ARGV.length != 1 > puts "usage:...." > Process.exit > end > > I get an error calling Process.exit (private member) > Process.Exit (method does not exist) > sys.Exit (undefined method 'sys' for main:Object) > > How do I quit my script? > That looks like Ruby to me, but in IronPython you can just call exit() to exit.
_______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
