def _gen_expect_stderr_script(ppx, cookies, expected, inparam, outfile, verbose):
    """Return shell commands for ppx preprocessing of file 'src'."""
    return """{ppx} \
-null \
{cookies} \
\"$@\" \
{inparam}""".format(ppx = ppx.short_path,
                    cookies = cookies,
                    expected = expected,
                    inparam = inparam,
                    outfile = outfile,
                    verbose = verbose)