Y
Hacker News
new
|
ask
|
show
|
jobs
by
delusional
450 days ago
How do you know which shell you're escaping for? You could query the system, but now you end up implementing escaping for every shell out there.
1 comments
gray_-_wolf
450 days ago
Good question. I care only about POSIX compatible shells, so the escaping just follows the POSIX rules. In practice that means it works on any actually used system except windows, which is fine with me.
link