I need to pass command-line arguments or params or execargv which should come in process params while loading environment for a child process which will be launched by a bull for process a job.
is it possible? if yes is there any way to do it?
I can identify the child process is launched for bull usings args[1] which contains /bull/lib/process but I want to pass custom param to node process.
when a worker script runs, it reads the environment and keeps it until you shut it down.
If you need variable parameters to the function the worker should use, then it is best you send them in your queue.
queue.jsworker.jsrunner.js