A string assembled for a shell can let user input become a command separator or another command. Disabling the shell removes that interpretation layer, but the target program can still interpret a user value as an option. A report name such as --help is data in your form and an option to many command-line programs.
Use a fixed executable with separate arguments, a narrow value grammar and an option delimiter where the program supports one. These labs return a structured invocation plan. They never execute a process, and they can't establish operating-system quoting behavior. In production, prefer a library API when one exists. If a process is necessary, use the platform's process API with the shell disabled, check the program's option rules and limit its privileges. Keep ordinary bounded report names working.
Keep user values out of shell syntax and program options.