schrodinger.tasks.utils.writer module

schrodinger.tasks.utils.writer.write_sh(cmd: list[str], path: os.PathLike | str)

Write the command to a shell script at the given path. Validate the command before writing.

Raises:

ValueError – If command validation fails.