If the args list contains any empty strings, these will be emitted as empty spaces in the argument list. runProcess will pass these to the cpp executable as real empty string arguments, and some cpp implementations don't handle this well. For example, an implementation I'm stuck using somehow treats this empty argument as the input file name and fails when it's not found. Filtering out null strings from the argument list fixes this.
If the args list contains any empty strings, these will be emitted as empty spaces in the argument list.
runProcess
will pass these to the cpp executable as real empty string arguments, and some cpp implementations don't handle this well. For example, an implementation I'm stuck using somehow treats this empty argument as the input file name and fails when it's not found. Filtering out null strings from the argument list fixes this.