Of course, if your shell is not in /bin, use the correct path.exec("/bin/sh", "-c", "/usr/sbin/nslookup -q=$query_type $input $names +erver 2>&1");
HTH, --traveler
In reply to Re: Capturing STDERR with -
by traveler
in thread Capturing STDERR with -
by DrManhattan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |