Go through this link to get to know how to Execute external command
You can use the backtics to execute your external program and capture its stdout and stderr.
By default the backticks discard the stderr and return only the stdout of the external program.
Update:
qx() is a alternative to using back-quotes to execute external commands.
In reply to Re: how do I run an external command
by vinoth.ree
in thread [solved] how do I run an external command
by scsijon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |