I'm pretty sure it does involve a shell; what other part should take care of the redirection 2>&1?
And I don't think it's any better than backticks. It also lacks proper error handling.
In reply to Re: capturing command output
by moritz
in thread capturing command output
by morgon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |