How do you pipe a long string to /dev/stdin via child_process.spawn() in Node.js?

后端 未结 4 1460
失恋的感觉
失恋的感觉 2021-02-07 07:39

I\'m trying to execute Inkscape by passing data via stdin. Inkscape only supports this via /dev/stdin. Basically, I\'m trying to do something like this

4条回答
  •  说谎
    说谎 (楼主)
    2021-02-07 08:02

    As Inkscape bug 171016 indicates, Inkscape does not support importing via stdin, but it is on their Wishlist.

提交回复
热议问题