1

Coming from this post Passing 2 stdin arguments to a ImageMagick child_process I am trying to find out if there is and if so how to get the fd of a node buffer.

   foo = new Buffer("foo");

How to get the fd of foo?

Community
  • 1
  • 1
Trevor
  • 525
  • 2
  • 6
  • 19
  • 3
    Buffers don't have fds; they're just (binary) arrays in memory. – Roger Lipscombe Nov 12 '15 at 08:22
  • @RogerLipscombe Thanks, I very much suspected that. Any input on the link I posted above would be appreciated. Is there a way to pass 2 arguments through stdin? See over the link for what I mean. – Trevor Nov 12 '15 at 08:51

0 Answers0