Question
In Python, which comparison about subprocess and Shell Boundary Safety is accurate?
- There is no practical difference in behavior, performance, or maintainability when subprocess and Shell Boundary Safety is involved.
- The oldest option related to subprocess and Shell Boundary Safety is always the right production choice regardless of workload or context.
- Argument-list invocation is safer and clearer than shell-built command strings for most application use cases.
- Differences around subprocess and Shell Boundary Safety are mostly cosmetic, so correctness and debugging quality do not really change.
Hint
Focus on the behavior or tradeoff, not just the keyword.
Answer and rationale
Correct answer: C. Argument-list invocation is safer and clearer than shell-built command strings for most application use cases.
Argument-list invocation is safer and clearer than shell-built command strings for most application use cases. This is the comparison that usually separates memorization from understanding.
Track: Python