in reply to Running a backticks command in a CGI script
You should also check the value of "$?". From the docs:$result = `foobar 2>&1`
"I'm fairly sure if they took porn off the Internet, there'd only be one website left, and it'd be called 'Bring Back the Porn!'"
-- Dr. Cox, Scrubs
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Running a backticks command in a CGI script
by Cody Fendant (Hermit) on Apr 14, 2013 at 08:47 UTC |