title: How to sandbox a command line tool?
body: <p>I've a simple unix tool made by me that launches the main cocoa app from a shell.</p>
  
  <p>I need to sandbox it but when I run it, it crashes with error "Illegal instruction: 4", on console.app I can see the following error message</p>
  
  <blockquote>
    <p>Sandbox creation failed: Container object initialization failed: NIL
    container info object with no error description for visdiff</p>
  </blockquote>
  
  <p>The file is correctly signed with codesign.</p>
  
  <p>I've read the post <a href="https://stackoverflow.com/questions/11821632/mac-os-app-sandbox-with-command-line-tool">Mac OS app, sandbox with command line tool?</a> but it doesn't help</p>