Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Kitchen.main() calls System.exit() !?

  1. #1

    Angry Kitchen.main() calls System.exit() !?

    Just when I thought I was done getting Kitchen to run embedded within my app, I realized it calls System.exit() at the end of execution.

    This is horrible. What's the work-around????

  2. #2
    Join Date
    Sep 2009
    Posts
    5

    Default

    Old post - but perhaps someone else will find this useful.

    Yep - I had same problem - really annoying if you call kitchen from a shell script that has more to do after!

    If you are using bash - I would recommend an exit trap as described here:

    http://redsymbol.net/articles/bash-exit-traps/

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.