Open embiem opened 6 years ago
I circumvented this by doing vaguely this;
require('child_process').spawn(
isWindows
? 'C:\\Program Files (x86)\\Adobe\\Adobe Creative Cloud Experience\\libs\\nodejs.exe'
: '/Library/Application Support/Adobe/Creative Cloud Libraries/CCLibrary.app/Contents/libs/node',
['./worker.js'],
{ cwd: 'SOME_PATH' }
)
When trying to fork a js module, the "spawnfile" used in the resulting ChildProcess is pointing to
C:\Program Files\Adobe\Adobe After Effects CC 2018\Support Files\CEPHtmlEngine\CEPHtmlEngine.exe
, which doesn't execute the forked js module.Is there some way to use the
fork()
function in the CEP?