Parse output of spawned node.js child process line by line

后端 未结 6 1866
旧巷少年郎
旧巷少年郎 2020-12-07 21:05

I have a PhantomJS/CasperJS script which I\'m running from within a node.js script using process.spawn(). Since CasperJS doesn\'t support require()

6条回答
  •  感情败类
    2020-12-07 21:58

    Old stuff but still useful...

    I have made a custom stream Transform subclass for this purpose.

    See https://stackoverflow.com/a/59400367/4861714

提交回复
热议问题