title: Java ProcessBuilder().start() vs. NodeJS require('child_process').spawn()
body: <p>We have a legacy application written in NodeJS and that application is calling a C++ application with <code>require('child_process').spawn()</code> method. The working time of C++ application is around 5 seconds. </p>
  
  <p>Then I convert the NodeJS application to Java, and I am using <code>ProcessBuilder().start()</code> to call the same C++ application. Now it takes around 30 seconds the application to finish. </p>
  
  <p>Do you know what could be the reason or is this a normal behaviour? The C++ application creates some files (around 20). What could be the reason and how can I improve this? Thank you</p>