in reply to Re: system vs backticks
in thread system vs backticks

The primary difference between system and backticks, as far as I am aware, is that backticks always call a shell to parse the command; whereas, system might not, if you pass it a list.

And that backticks return the command's output whereas system returns its exit value.

Replies are listed 'Best First'.
Re: system vs backticks
by jonadab (Parson) on Sep 10, 2005 at 16:02 UTC
    Oh, yes, that too. I'd forgotten because I usually open a pipe if it's the output I'm after.