But hose commands would not work unless you pass them through a shell!
Or if you prefer to view it from a different angle, you will have to implement in your program all the shell functionality used by those commands!
Update: And BTW, if those commands involve calling ssh, then a shell would be invoked at the remote side. This is an unavoidable feature of the SSH protocol. | [reply] [d/l] |
| [reply] [d/l] |
Why do you say that these commands won't work unless passed to a shell vs calling ssh directly?
Because it's obvious they have been written to be parsed by a shell.
Can you assure that there would be no entries using redirections, pipes, back-quotes, logical operators, variables, wildcards, etc.? Those are features that any intermediate shell user employs frequently.
| [reply] |
I need to avoid that.
Why?
| [reply] |
| [reply] [d/l] |
| [reply] |