Thursday, November 26, 2020

Spawn process

 What is a spawn process?

If you select the Spawn check-box, the parent process does not wait for the called subprocess to complete, the subprocess is executed in a separate process instance, and the parent process cannot access the output of the called process.

How to access the output of the spawned process in the main process?

You can set a module shared variable in the spawned process. In the main process it can be accessed using a getSharedVariable. You cannot use job shared variable as it creates a new copy for each job.



No comments:

Post a Comment

Import vs Include

 What is the difference between include and import? You must use <import> to refer to declarations or definitions that are in a differ...