Rationale:
CWE-77 is often misused when OS command injection (CWE-78) was intended instead [REF-1287].
Comments:
If the weakness involves a command language besides OS shell invocation, then CWE-77 could be used.