title: Node.js Child Process Issue with Args - Quotes Issue?, FFMPEG issue?
body: <p>I need to be able to execute FFMPEG from my Node.js application.  I believe this problem likely has to do with properly specifying command line arguments, and not specific to FFMPEG, but as I have been unable to narrow down the issue, I present my entire problem.</p>
  
  <p>I can execute the following command <strong>from the command prompt successfully</strong>:</p>
  
  <pre><code>C:\Brad\ffmpeg.exe -f dshow -i audio="Microphone (SoundMAX Integrated" testaaa.mp3
  </code></pre>
  
  <p>FFMPEG starts as expected, records audio from my audio device, and writes an MP3 file.  Now, I try to do the <strong>same thing within my Node.js application</strong>:</p>
  
  <pre><code>childProcess = child_process.spawn('C:\\Brad\\ffmpeg.exe', ['-f', 'dshow', '-i', 'audio="Microphone (SoundMAX Integrated"', 'testaaa.mp3']);
  childProcess.stderr.on('data', function (data) {
      console.log('StdioSource received data from STDERR: ' + data);
  });
  </code></pre>
  
  <p><strong>From within Node.js, FFMPEG fails!</strong>  The error is simply:</p>
  
  <pre><code>[dshow @ 0000000001eded80] Could not find audio device.
  audio="Microphone (SoundMAX Integrated": Input/output error
  </code></pre>
  
  <p>Thinking that maybe for some reason this was a weird permissions error, I decided to run FFMPEG with <code>-list_devices true</code> from within my Node application, and sure enough, the device in question is listed:</p>
  
  <pre><code>[dshow @ 000000000228ecc0] DirectShow video devices
  [dshow @ 000000000228ecc0] Could not enumerate video devices.
  [dshow @ 000000000228ecc0] DirectShow audio devices
  [dshow @ 000000000228ecc0]  "Microphone (SoundMAX Integrated"
  </code></pre>
  
  <p><strong>Any thoughts as to why I cannot properly specify the audio input device in the arguments for FFMPEG, or why FFMPEG does not recognize my audio input device when running as a child process to Node.js?</strong></p>
  
  <p>Any hints would be most appreciated.</p>