title: Spawn e2big node
body: <p>I have a node server that runs on debian and I'm trying to pass data extracted from a file into the command line using <code>exec()</code>.</p>
  
  <pre><code>getconf ARG_MAX = 2097152 bytes (2 mb)
  
  myFile = 600 kb (contains 600kb worth of parameters)
  </code></pre>
  
  <p>When I call exec() command from node:</p>
  
  <blockquote>
    <p>Error: spawn E2BIG<br>
        at ChildProcess.spawn (internal/child_process.js:372:11)<br>
        at spawn (child_process.js:543:9)<br>
        at Object.execFile (child_process.js:221:15)<br>
        at exec (child_process.js:152:18)<br>
        at Promise (child_process.js:160:15)<br>
        at new Promise ()
        at args (child_process.js:159:12)</p>
  </blockquote>
  
  <p>Shouldn't it work since <code>getconf ARG_MAX</code> is bigger than the data I'm trying to pass?</p>