3 ms·
How so? The only cases in which I've seen this cause problems are programs which rely on the presence of a tty when they should not, or assume the existence of
by zbentley 8y ago
How so?
The only cases in which I've seen this cause problems are programs which rely on the presence of a tty when they should not, or assume the existence of environment variables that they don't really need.
- swiley 8y agoNeither of those really have anything to do with the shell? And it's not like it's all impossible to do yourself without the shell there's just a lot and the shell does it in a nice and well known way. Here are some examples: Searching the path Setting custom environment variables builtins One weird one that I feel like a lot of people don't know about is that you can run shell scripts from the shell without the shebang. But if you exec one you'll get a format error. It's not good to rely on this but it's another thing that surprises people with messy scripts.