Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Added to the FAQ more details about how to use csh. #1483
There are multiple open issues in github about csh and quoting, also
With normal settings (use_shell=True, shell_escape=True), a command that has
/bin/bash -l -c "export FOO="bar" && actual-command"
If in the csh setting backslash_quote is not set, csh does not handle the "
... and chokes on the final "
Thanks for this!
You touched enough other outstanding issues (like #1374) that I'm probably going to try making a FBSD VM sometime so I can doublecheck the problem, but I'll be pretty happy if
Wondering why this didn't come up prior - especially given the earlier FAQ content claiming that
Hey, I'm glad if I was able to help out.
In my case, it's SUSE Linux SLES 11 patchlevel 4. I have no idea whether there is customization or whether it's the defaults that way. It's a confusing issue, and it might turn up only when there are environment variables. I did not test it on anything else, but from reading the documentation for csh it's quite obvious. In the bug reports you can also find the telltale sign message about the missing " ' ".
Fun fact: I requested to be changed to bash as login shell, but it took so long that I was really annoyed by the problem and took the time to read through. And now I'm on bash ;)