title: How to get the testCafe exit code
body: <p>I am having an issue running Testcafe through cucumber. for whatever reason, When I run testCafe through cucumber, the process will always exit with exit code 0 even in the test fails.</p>
  
  <p>If I run puppeteer through cucumber I don't get this issue. I am thinking that this behavior is due to the way I have things set up in my hooks file where I am not properly interpreting the test cafe exit code.</p>
  
  <p>In my hooks file, I am creating a testCafe runner and in my Before hook and then closing it during my after hook.</p>
  
  <p>I am wondering what command I could use to get the TestCafe exit code, and I haven't been able to find any info on this.</p>
  
  <p>For example, is the exit code returned from the close function or what?</p>