Open lctcharly opened 1 year ago
Hello team!
I was wondering if there is a possibility to pass the parameters to the third parameter position when execa is called?
E.G: /node_modules/exec-buffer/index.js:35 execa(opts.bin, opts.args, { detached: true })
execa(opts.bin, opts.args, { detached: true })
Since we need to be detached until the process is end for some internal process that we are doing.
buffer = await imagemin.buffer(buffer, { plugins: [ imageminGif2webp({ lossy: true, quality, method: 4, metadata: 'none', multiThreading: true }, { detached: true }) ] }); this.image = sharp(buffer, { animated: true });
Can it be added as parameter from imageminGif2webp or directly in the execa(opts.bin, opts.args, { detached: true }) execution.
Please let me know if you need more information, thanks!
Hello team!
I was wondering if there is a possibility to pass the parameters to the third parameter position when execa is called?
E.G: /node_modules/exec-buffer/index.js:35
execa(opts.bin, opts.args, { detached: true })
Since we need to be detached until the process is end for some internal process that we are doing.
Can it be added as parameter from imageminGif2webp or directly in the
execa(opts.bin, opts.args, { detached: true })
execution.Please let me know if you need more information, thanks!