1/3
Flashcards covering the key points about why environmental variables are used to pass data to child processes and why comments, constants, and regular variables are not ideal for this purpose.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Which scripting feature is used to communicate data and preferences to child processes?
Environmental variables.
Why are comments not used to communicate data to child processes?
Because comments are ignored during script execution and serve only as documentation or explanations.
Why are constants not used to communicate data to child processes?
Constants are fixed values defined in code and are not typically used to pass data between processes.
Why are regular variables not the best choice for communicating data to child processes?
Variables are usually local to the script and are not inherited by child processes unless explicitly exported as environmental variables.